Completed
Branch master (495b2a)
by Arnaud
04:46
created
Category
src/Bridge/Symfony/SymfonyRoutingProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@
 block discarded – undo
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'
Please login to merge, or discard this patch.
src/Requirements/Provider/RequirementsProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@
 block discarded – undo
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
                 }
Please login to merge, or discard this patch.