Completed
Pull Request — master (#1478)
by Antoine
24:28
created
src/Security/ResourceAccessChecker.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
 /*
15 15
  * This file is part of the API Platform project.
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
         return [
82 82
             'token' => $token,
83 83
             'user' => $token->getUser(),
84
-            'roles' => array_map(function (Role $role) {
84
+            'roles' => array_map(function(Role $role) {
85 85
                 return $role->getRole();
86 86
             }, $roles),
87 87
             'trust_resolver' => $this->authenticationTrustResolver,
Please login to merge, or discard this patch.
src/Security/EventListener/DenyAccessListener.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\Security\EventListener;
15 15
 
Please login to merge, or discard this patch.
src/GraphQl/Action/EntrypointAction.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\Action;
15 15
 
Please login to merge, or discard this patch.
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.