@@ -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\Graphql\Resolver; |
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\DataPersister; |
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\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\Doctrine\Common; |
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\DataPersister; |
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\Doctrine\Orm\Filter; |
15 | 15 | |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | public function __construct(ManagerRegistry $managerRegistry, RequestStack $requestStack, string $orderParameterName = 'order', LoggerInterface $logger = null, array $properties = null) |
57 | 57 | { |
58 | 58 | if (null !== $properties) { |
59 | - $properties = array_map(function ($propertyOptions) { |
|
59 | + $properties = array_map(function($propertyOptions) { |
|
60 | 60 | // shorthand for default direction |
61 | 61 | if (is_string($propertyOptions)) { |
62 | 62 | $propertyOptions = [ |
@@ -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\Graphql\Resolver; |
15 | 15 | |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | */ |
57 | 57 | public function createCollectionResolver(string $resourceClass, string $rootClass): callable |
58 | 58 | { |
59 | - return function ($root, $args, $context, ResolveInfo $info) use ($resourceClass, $rootClass) { |
|
59 | + return function($root, $args, $context, ResolveInfo $info) use ($resourceClass, $rootClass) { |
|
60 | 60 | if (null !== $request = $this->requestStack->getCurrentRequest()) { |
61 | 61 | $request->attributes->set( |
62 | 62 | '_graphql_collections_args', |
@@ -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\Graphql\Type; |
15 | 15 | |
@@ -271,7 +271,7 @@ discard block |
||
271 | 271 | $configuration = [ |
272 | 272 | 'name' => $shortName, |
273 | 273 | 'description' => $resourceMetadata->getDescription(), |
274 | - 'fields' => function () use ($resource, $isInput, $isMutation, $mutationName) { |
|
274 | + 'fields' => function() use ($resource, $isInput, $isMutation, $mutationName) { |
|
275 | 275 | return $this->getResourceObjectTypeFields($resource, $isInput, $isMutation, $mutationName); |
276 | 276 | }, |
277 | 277 | ]; |