@@ -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\GraphQl\Resolver\Factory; |
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\GraphQl\Resolver\Factory; |
15 | 15 | |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | |
59 | 59 | public function __invoke(string $resourceClass = null, string $rootClass = null, string $operationName = null): callable |
60 | 60 | { |
61 | - return function ($root, $args, $context, ResolveInfo $info) use ($resourceClass, $operationName) { |
|
61 | + return function($root, $args, $context, ResolveInfo $info) use ($resourceClass, $operationName) { |
|
62 | 62 | $data = ['clientMutationId' => $args['input']['clientMutationId'] ?? null]; |
63 | 63 | $item = null; |
64 | 64 |
@@ -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\GraphQl\Resolver\Factory; |
15 | 15 | |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | |
63 | 63 | public function __invoke(string $resourceClass = null, string $rootClass = null, string $operationName = null): callable |
64 | 64 | { |
65 | - return function ($source, $args, $context, ResolveInfo $info) use ($resourceClass, $rootClass) { |
|
65 | + return function($source, $args, $context, ResolveInfo $info) use ($resourceClass, $rootClass) { |
|
66 | 66 | if (null !== $request = $this->requestStack->getCurrentRequest()) { |
67 | 67 | $request->attributes->set( |
68 | 68 | '_graphql_collections_args', |
@@ -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 | /* |
15 | 15 | * This file is part of the API Platform project. |
@@ -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\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\GraphQl\Type; |
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\GraphQl\Type; |
15 | 15 | |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | 'description' => 'The id of this node.', |
116 | 116 | ], |
117 | 117 | ], |
118 | - 'resolveType' => function ($value) { |
|
118 | + 'resolveType' => function($value) { |
|
119 | 119 | if (!isset($value[ItemNormalizer::ITEM_KEY])) { |
120 | 120 | return null; |
121 | 121 | } |
@@ -312,7 +312,7 @@ discard block |
||
312 | 312 | 'name' => $shortName, |
313 | 313 | 'description' => $resourceMetadata->getDescription(), |
314 | 314 | 'resolveField' => $this->defaultFieldResolver, |
315 | - 'fields' => function () use ($resourceClass, $input, $mutationName) { |
|
315 | + 'fields' => function() use ($resourceClass, $input, $mutationName) { |
|
316 | 316 | return $this->getResourceObjectTypeFields($resourceClass, $input, $mutationName); |
317 | 317 | }, |
318 | 318 | 'interfaces' => [$this->getNodeInterface()], |
@@ -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\GraphQl; |
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 | * This file is part of the API Platform project. |
15 | 15 | * |