Completed
Pull Request — master (#1527)
by Julien
02:56
created
src/Graphql/Type/SchemaBuilder.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\Type;
15 15
 
@@ -271,7 +271,7 @@  discard block
 block discarded – undo
271 271
         $configuration = [
272 272
             'name' => $shortName,
273 273
             'description' => $resourceMetadata->getDescription(),
274
-            'fields' => function () use ($resource, $isInput, $isMutation, $mutationName) {
274
+            'fields' => function() use ($resource, $isInput, $isMutation, $mutationName) {
275 275
                 return $this->getResourceObjectTypeFields($resource, $isInput, $isMutation, $mutationName);
276 276
             },
277 277
         ];
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/Resolver/CollectionResolverFactoryInterface.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/Resolver/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;
15 15
 
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
 
55 55
     public function createItemMutationResolver(string $resourceClass, string $mutationName): callable
56 56
     {
57
-        return function ($root, $args, $context, ResolveInfo $info) use ($resourceClass, $mutationName) {
57
+        return function($root, $args, $context, ResolveInfo $info) use ($resourceClass, $mutationName) {
58 58
             $resourceMetadata = $this->resourceMetadataFactory->create($resourceClass);
59 59
 
60 60
             $item = null;
Please login to merge, or discard this patch.
src/Graphql/Resolver/ItemResolverFactory.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;
15 15
 
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      */
51 51
     public function createItemResolver(string $resourceClass, string $rootClass): callable
52 52
     {
53
-        return function ($root, $args, $context, ResolveInfo $info) use ($resourceClass, $rootClass) {
53
+        return function($root, $args, $context, ResolveInfo $info) use ($resourceClass, $rootClass) {
54 54
             $rootProperty = $info->fieldName;
55 55
             $rootIdentifiers = $this->identifiersExtractor->getIdentifiersFromResourceClass($rootClass);
56 56
             if (isset($root[$rootProperty])) {
Please login to merge, or discard this patch.
src/Graphql/Resolver/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;
15 15
 
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      */
57 57
     public function createCollectionResolver(string $resourceClass, string $rootClass): callable
58 58
     {
59
-        return function ($root, $args, $context, ResolveInfo $info) use ($resourceClass, $rootClass) {
59
+        return function($root, $args, $context, ResolveInfo $info) use ($resourceClass, $rootClass) {
60 60
             if (null !== $request = $this->requestStack->getCurrentRequest()) {
61 61
                 $request->attributes->set(
62 62
                     '_graphql_collections_args',
Please login to merge, or discard this patch.
src/Graphql/Resolver/ItemMutationResolverFactoryInterface.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/Resolver/ItemResolverFactoryInterface.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/Resolver/AbstractResolverFactory.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.