Passed
Push — develop ( eb1f24...8812ee )
by Mathieu
02:53
created
src/DependencyInjection/Compiler/AccessCompilerPass.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -42,8 +42,8 @@  discard block
 block discarded – undo
42 42
             $class = $this->getClass($container, $id);
43 43
 
44 44
             if ($permissions = $this->getRoles(
45
-              new ReflectionClass($class),
46
-              $this->getRolePrefix($id)
45
+                new ReflectionClass($class),
46
+                $this->getRolePrefix($id)
47 47
             )) {
48 48
                 $roles = array_merge_recursive($roles, $permissions);
49 49
             }
@@ -84,10 +84,10 @@  discard block
 block discarded – undo
84 84
             }
85 85
 
86 86
             $roles[$annotation->getRole()] = array_map(
87
-              function (string $permission) use ($prefix) {
88
-                  return $prefix . strtoupper($permission);
89
-              },
90
-              $annotation->permissions
87
+                function (string $permission) use ($prefix) {
88
+                    return $prefix . strtoupper($permission);
89
+                },
90
+                $annotation->permissions
91 91
             );
92 92
         }
93 93
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
             }
85 85
 
86 86
             $roles[$annotation->getRole()] = array_map(
87
-              function (string $permission) use ($prefix) {
87
+              function(string $permission) use ($prefix) {
88 88
                   return $prefix . strtoupper($permission);
89 89
               },
90 90
               $annotation->permissions
Please login to merge, or discard this patch.