Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit da8a197

Browse files
committed
Remove unnecessary option assignment
1 parent 5b6da77 commit da8a197

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Symfony/Component/Form/Extension/Core/Type/CollectionType.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ public function buildForm(FormBuilderInterface $builder, array $options)
2828
{
2929
if ($options['allow_add'] && $options['prototype']) {
3030
$prototype = $builder->create($options['prototype_name'], $options['type'], array_replace(array(
31-
'required' => $options['required'],
3231
'label' => $options['prototype_name'].'label__',
3332
), $options['options']));
3433
$builder->setAttribute('prototype', $prototype->getForm());

0 commit comments

Comments
 (0)