@@ -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 @@ |
||
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\Definition; |
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 | |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | public function __construct(ManagerRegistry $managerRegistry, $requestStack = null, string $orderParameterName = 'order', LoggerInterface $logger = null, array $properties = null) |
60 | 60 | { |
61 | 61 | if (null !== $properties) { |
62 | - $properties = array_map(function ($propertyOptions) { |
|
62 | + $properties = array_map(function($propertyOptions) { |
|
63 | 63 | // shorthand for default direction |
64 | 64 | if (\is_string($propertyOptions)) { |
65 | 65 | $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\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 ($this->requestStack && null !== $request = $this->requestStack->getCurrentRequest()) { |
67 | 67 | $request->attributes->set( |
68 | 68 | '_graphql_collections_args', |