Completed
Push — master ( 1a8236...704192 )
by Kévin
15s
created
src/Security/EventListener/DenyAccessListener.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\Security\EventListener;
15 15
 
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
             'user' => $token->getUser(),
108 108
             'object' => $request->attributes->get('data'),
109 109
             'request' => $request,
110
-            'roles' => array_map(function (Role $role) {
110
+            'roles' => array_map(function(Role $role) {
111 111
                 return $role->getRole();
112 112
             }, $roles),
113 113
             'trust_resolver' => $this->authenticationTrustResolver,
Please login to merge, or discard this patch.