@@ -15,7 +15,7 @@ |
||
15 | 15 | public function buildForm(FormBuilderInterface $builder, array $options) |
16 | 16 | { |
17 | 17 | |
18 | - $builder->addEventListener(FormEvents::POST_SUBMIT, function (FormEvent $event) { |
|
18 | + $builder->addEventListener(FormEvents::POST_SUBMIT, function(FormEvent $event) { |
|
19 | 19 | $form = $event->getForm(); |
20 | 20 | |
21 | 21 | if ($form->isValid() && $form->isRoot()) { |
@@ -5,7 +5,7 @@ |
||
5 | 5 | use Braunstetter\ValidFormEvent\Form\Extension\ValidFormEventTypeExtension; |
6 | 6 | use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; |
7 | 7 | |
8 | -return static function (ContainerConfigurator $containerConfigurator): void { |
|
8 | +return static function(ContainerConfigurator $containerConfigurator): void { |
|
9 | 9 | |
10 | 10 | $services = $containerConfigurator->services(); |
11 | 11 |