@@ -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 @@ 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 | |
@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | 'description' => 'The id of this node.', |
| 112 | 112 | ], |
| 113 | 113 | ], |
| 114 | - 'resolveType' => function ($value) { |
|
| 114 | + 'resolveType' => function($value) { |
|
| 115 | 115 | if (!isset($value['#item'])) { |
| 116 | 116 | return null; |
| 117 | 117 | } |
@@ -306,7 +306,7 @@ discard block |
||
| 306 | 306 | 'name' => $shortName, |
| 307 | 307 | 'description' => $resourceMetadata->getDescription(), |
| 308 | 308 | 'resolveField' => $this->defaultFieldResolver, |
| 309 | - 'fields' => function () use ($resourceClass, $nodeInterface, $input, $mutationName) { |
|
| 309 | + 'fields' => function() use ($resourceClass, $nodeInterface, $input, $mutationName) { |
|
| 310 | 310 | return $this->getResourceObjectTypeFields($resourceClass, $nodeInterface, $input, $mutationName); |
| 311 | 311 | }, |
| 312 | 312 | 'interfaces' => [$nodeInterface], |