@@ -114,7 +114,7 @@ |
||
| 114 | 114 | 'array', |
| 115 | 115 | 'null', |
| 116 | 116 | ]) |
| 117 | - ->setNormalizer('routes', function (Options $options, $value) { |
|
| 117 | + ->setNormalizer('routes', function(Options $options, $value) { |
|
| 118 | 118 | if (self::STRATEGY_ALL === $options->offsetGet('strategy') && 0 !== count($value)) { |
| 119 | 119 | throw new InvalidOptionsException( |
| 120 | 120 | 'The routes parameters should not be configured if the "ALL" strategy is configured' |
@@ -158,7 +158,7 @@ |
||
| 158 | 158 | ]) |
| 159 | 159 | ->setAllowedTypes('entity', 'string') |
| 160 | 160 | ->setAllowedTypes('requirements', 'array') |
| 161 | - ->setNormalizer('route', function (Options $options, $value) { |
|
| 161 | + ->setNormalizer('route', function(Options $options, $value) { |
|
| 162 | 162 | if (null === $value && null === $options->offsetGet('pattern')) { |
| 163 | 163 | throw new InvalidOptionsException('A pattern or a route should be provided'); |
| 164 | 164 | } |