@@ -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 | |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | 'description' => 'The id of this node.', |
119 | 119 | ], |
120 | 120 | ], |
121 | - 'resolveType' => function ($value) { |
|
121 | + 'resolveType' => function($value) { |
|
122 | 122 | if (!isset($value[ItemNormalizer::ITEM_KEY])) { |
123 | 123 | return null; |
124 | 124 | } |
@@ -234,7 +234,7 @@ discard block |
||
234 | 234 | } |
235 | 235 | |
236 | 236 | parse_str($key, $parsed); |
237 | - array_walk_recursive($parsed, function (&$value) use ($graphqlFilterType) { |
|
237 | + array_walk_recursive($parsed, function(&$value) use ($graphqlFilterType) { |
|
238 | 238 | $value = $graphqlFilterType; |
239 | 239 | }); |
240 | 240 | $args = $this->mergeFilterArgs($args, $parsed, $resourceMetadata, $key); |
@@ -387,7 +387,7 @@ discard block |
||
387 | 387 | 'name' => $shortName, |
388 | 388 | 'description' => $resourceMetadata->getDescription(), |
389 | 389 | 'resolveField' => $this->defaultFieldResolver, |
390 | - 'fields' => function () use ($resourceClass, $resourceMetadata, $input, $mutationName) { |
|
390 | + 'fields' => function() use ($resourceClass, $resourceMetadata, $input, $mutationName) { |
|
391 | 391 | return $this->getResourceObjectTypeFields($resourceClass, $resourceMetadata, $input, $mutationName); |
392 | 392 | }, |
393 | 393 | '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 | * This file is part of the API Platform project. |
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 = null, 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 = [ |