Completed
Pull Request — master (#1478)
by Antoine
09:05 queued 06:02
created
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
 
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
 
52 52
     public function __invoke(string $resourceClass = null, string $rootClass = null, string $operationName = null): callable
53 53
     {
54
-        return function ($root, $args, $context, ResolveInfo $info) use ($resourceClass, $operationName) {
54
+        return function($root, $args, $context, ResolveInfo $info) use ($resourceClass, $operationName) {
55 55
             $item = null;
56 56
             if (isset($args['input']['id'])) {
57 57
                 try {
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
 
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
 
43 43
     public function __invoke(string $resourceClass = null, string $rootClass = null, string $operationName = null): callable
44 44
     {
45
-        return function ($source, $args, $context, ResolveInfo $info) use ($resourceClass) {
45
+        return function($source, $args, $context, ResolveInfo $info) use ($resourceClass) {
46 46
             // Data already fetched and normalized (field or nested resource)
47 47
             if (isset($source[$info->fieldName])) {
48 48
                 return $source[$info->fieldName];
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/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 __invoke(string $resourceClass = null, string $rootClass = null, string $operationName = null): callable
58 58
     {
59
-        return function ($source, $args, $context, ResolveInfo $info) use ($resourceClass, $rootClass) {
59
+        return function($source, $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/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;
15 15
 
Please login to merge, or discard this patch.