Completed
Pull Request — master (#1585)
by Kévin
03:03
created
src/Graphql/Resolver/ItemResolver.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/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
 
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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],
Please login to merge, or discard this patch.