Completed
Pull Request — master (#1602)
by Kévin
03:12
created
src/Security/ResourceAccessCheckerInterface.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;
15 15
 
Please login to merge, or discard this patch.
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.