Skip to content

Commit

Permalink
Remove unnecessary option assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeyfedotov committed Apr 5, 2016
1 parent 5b6da77 commit da8a197
Showing 1 changed file with 0 additions and 1 deletion.
Expand Up @@ -28,7 +28,6 @@ public function buildForm(FormBuilderInterface $builder, array $options)
{
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());
Expand Down

0 comments on commit da8a197

Please sign in to comment.