@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace ApiPlatform\Core\Bridge\Symfony\Validator\Exception; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace ApiPlatform\Core\Bridge\Symfony\Validator\EventListener; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace ApiPlatform\Core\Bridge\Symfony\Validator\Metadata\Property; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace ApiPlatform\Core\Bridge\Symfony\Routing; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace ApiPlatform\Core\Bridge\Symfony\PropertyInfo\Metadata\Property; |
15 | 15 |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace ApiPlatform\Core\Bridge\Symfony\Bundle\DependencyInjection; |
15 | 15 | |
@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | ->useAttributeAsKey('exception_class') |
118 | 118 | ->beforeNormalization() |
119 | 119 | ->ifArray() |
120 | - ->then(function (array $exceptionToStatus) { |
|
120 | + ->then(function(array $exceptionToStatus) { |
|
121 | 121 | foreach ($exceptionToStatus as &$httpStatusCode) { |
122 | 122 | if (is_int($httpStatusCode)) { |
123 | 123 | continue; |
@@ -134,7 +134,7 @@ discard block |
||
134 | 134 | ->prototype('integer')->end() |
135 | 135 | ->validate() |
136 | 136 | ->ifArray() |
137 | - ->then(function (array $exceptionToStatus) { |
|
137 | + ->then(function(array $exceptionToStatus) { |
|
138 | 138 | foreach ($exceptionToStatus as $httpStatusCode) { |
139 | 139 | if ($httpStatusCode < 100 || $httpStatusCode >= 600) { |
140 | 140 | throw new InvalidConfigurationException(sprintf('The HTTP status code "%s" is not valid.', $httpStatusCode)); |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | ->useAttributeAsKey('format') |
167 | 167 | ->beforeNormalization() |
168 | 168 | ->ifArray() |
169 | - ->then(function ($v) { |
|
169 | + ->then(function($v) { |
|
170 | 170 | foreach ($v as $format => $value) { |
171 | 171 | if (isset($value['mime_types'])) { |
172 | 172 | continue; |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace ApiPlatform\Core\Bridge\Symfony\Bundle\DependencyInjection; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace ApiPlatform\Core\Bridge\Symfony\Bundle\DependencyInjection\Compiler; |
15 | 15 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace ApiPlatform\Core\Bridge\Symfony\Bundle\Command; |
15 | 15 |