@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | if ($formBuilder) { |
| 47 | 47 | $formBuilder->addEventListener( |
| 48 | 48 | FormEvents::SUBMIT, |
| 49 | - function (FormEvent $event) use (&$mutationEvent) { |
|
| 49 | + function(FormEvent $event) use (&$mutationEvent) { |
|
| 50 | 50 | if ($this->eventDispatcher) { |
| 51 | 51 | $mutationEvent = new GraphQLMutationEvent($this->context, $event); |
| 52 | 52 | $this->eventDispatcher->dispatch(GraphQLEvents::MUTATION_SUBMITTED, $mutationEvent); |
@@ -56,8 +56,8 @@ discard block |
||
| 56 | 56 | |
| 57 | 57 | $formBuilder->addEventSubscriber($this); |
| 58 | 58 | |
| 59 | - $extensionExecutor = function ($method) { |
|
| 60 | - return function (FormEvent $event) use ($method) { |
|
| 59 | + $extensionExecutor = function($method) { |
|
| 60 | + return function(FormEvent $event) use ($method) { |
|
| 61 | 61 | foreach ($this->extensions as $extension) { |
| 62 | 62 | call_user_func_array([$extension, $method], [$event]); |
| 63 | 63 | } |