Remove unnecessary option assignment
This commit is contained in:
parent
5b6da77a96
commit
da8a19728b
@ -28,7 +28,6 @@ class CollectionType extends AbstractType
|
||||
{
|
||||
if ($options['allow_add'] && $options['prototype']) {
|
||||
$prototype = $builder->create($options['prototype_name'], $options['type'], array_replace(array(
|
||||
'required' => $options['required'],
|
||||
'label' => $options['prototype_name'].'label__',
|
||||
), $options['options']));
|
||||
$builder->setAttribute('prototype', $prototype->getForm());
|
||||
|
Reference in New Issue
Block a user