@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | { |
23 | 23 | |
24 | 24 | foreach ($options['fields'] as $field) { |
25 | - $class = 'Symfony\Component\Form\Extension\Core\Type\\'.$field['type'] .'Type'; |
|
25 | + $class = 'Symfony\Component\Form\Extension\Core\Type\\'.$field['type'].'Type'; |
|
26 | 26 | |
27 | 27 | $cssClass = null !== $field['class'] ? $field['class'] : ''; |
28 | 28 | |
@@ -35,8 +35,8 @@ discard block |
||
35 | 35 | ) |
36 | 36 | )); |
37 | 37 | |
38 | - if($field['data'] !== null) { |
|
39 | - $builder->get($field['id'])->setData( true ); |
|
38 | + if ($field['data'] !== null) { |
|
39 | + $builder->get($field['id'])->setData(true); |
|
40 | 40 | } |
41 | 41 | } |
42 | 42 |