@@ -15,7 +15,7 @@ |
||
| 15 | 15 | { |
| 16 | 16 | public function buildForm(FormBuilderInterface $builder, array $options) |
| 17 | 17 | { |
| 18 | - $builder->addEventListener(FormEvents::PRE_SET_DATA, function (FormEvent $event) use ($options) { |
|
| 18 | + $builder->addEventListener(FormEvents::PRE_SET_DATA, function(FormEvent $event) use ($options) { |
|
| 19 | 19 | $data = $event->getData(); |
| 20 | 20 | $form = $event->getForm(); |
| 21 | 21 | $accessor = PropertyAccess::createPropertyAccessor(); |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | { |
| 17 | 17 | public function buildForm(FormBuilderInterface $builder, array $options): void |
| 18 | 18 | { |
| 19 | - $builder->addEventListener(FormEvents::PRE_SET_DATA, function (FormEvent $event) use ($options) { |
|
| 19 | + $builder->addEventListener(FormEvents::PRE_SET_DATA, function(FormEvent $event) use ($options) { |
|
| 20 | 20 | $form = $event->getForm(); |
| 21 | 21 | |
| 22 | 22 | /** @var FilterInterface $filter */ |