@@ -11,7 +11,7 @@ |
||
| 11 | 11 | { |
| 12 | 12 | public function process(ContainerBuilder $container) |
| 13 | 13 | { |
| 14 | - $servicesToRemove = ['fos_rest.serializer.exception_normalizer.jms',]; |
|
| 14 | + $servicesToRemove = ['fos_rest.serializer.exception_normalizer.jms', ]; |
|
| 15 | 15 | |
| 16 | 16 | foreach ($servicesToRemove as $serviceId) { |
| 17 | 17 | $container->removeDefinition($serviceId); |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | $definition = $container->findDefinition($serviceId); |
| 31 | 31 | $class = $definition->getClass(); |
| 32 | 32 | $implements = class_implements($definition->getClass()); |
| 33 | - if (! isset($implements[ExceptionDescriberInterface::class])) { |
|
| 33 | + if (!isset($implements[ExceptionDescriberInterface::class])) { |
|
| 34 | 34 | throw new InvalidArgumentException( |
| 35 | 35 | sprintf( |
| 36 | 36 | 'Service "%s" with class "%s" must implement interface "%s"', |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | foreach ($this->describersQueue as $describer) { |
| 24 | 24 | $result = $describer->extractErrors($exception); |
| 25 | 25 | |
| 26 | - if (! empty($result)) { |
|
| 26 | + if (!empty($result)) { |
|
| 27 | 27 | return $result; |
| 28 | 28 | } |
| 29 | 29 | } |
@@ -59,7 +59,7 @@ |
||
| 59 | 59 | |
| 60 | 60 | $errors = $this->exceptionDescriber->extractErrors($exception); |
| 61 | 61 | |
| 62 | - if (! empty($errors)) { |
|
| 62 | + if (!empty($errors)) { |
|
| 63 | 63 | return ['errors' => $errors]; |
| 64 | 64 | } |
| 65 | 65 | |