Completed
Pull Request — master (#1631)
by Vincent
03:59
created
src/GraphQl/Resolver/Factory/ResolverFactoryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/GraphQl/Resolver/Factory/ItemMutationResolverFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/GraphQl/Resolver/Factory/CollectionResolverFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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',
Please login to merge, or discard this patch.
src/GraphQl/Resolver/ResourceAccessCheckerTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
src/GraphQl/Resolver/ResourceFieldResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/GraphQl/Type/SchemaBuilderInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/GraphQl/Type/SchemaBuilder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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()],
Please login to merge, or discard this patch.
src/GraphQl/Executor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/GraphQl/Serializer/ItemNormalizer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
  *
Please login to merge, or discard this patch.