@@ -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 | |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | */ |
| 54 | 54 | public function createCollectionResolver(string $resourceClass, string $rootClass): callable |
| 55 | 55 | { |
| 56 | - return function ($root, $args, $context, ResolveInfo $info) use ($resourceClass, $rootClass) { |
|
| 56 | + return function($root, $args, $context, ResolveInfo $info) use ($resourceClass, $rootClass) { |
|
| 57 | 57 | $request = $this->requestStack ? $this->requestStack->getCurrentRequest() : null; |
| 58 | 58 | if (null !== $request) { |
| 59 | 59 | $request->attributes->set( |
@@ -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 | |