Completed
Branch v2.0.0 (b48978)
by Alexander
04:36
created
app/framework/web/src/WebEventsManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     {
36 36
         $eventsManager = new Manager();
37 37
 
38
-        $eventsManager->attach('dispatch:beforeExecuteRoute', function(Event $event, Dispatcher $dispatcher) {
38
+        $eventsManager->attach('dispatch:beforeExecuteRoute', function (Event $event, Dispatcher $dispatcher) {
39 39
             return $this->dispatchBeforeExecuteRoute($dispatcher);
40 40
         });
41 41
 
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
             $accessRoles = $annotationAccess->getArguments();
79 79
 
80 80
             if (!empty($accessRoles)) {
81
-                foreach($accessRoles as $role) {
81
+                foreach ($accessRoles as $role) {
82 82
                     $acl->allow($role, $controllerName, $actionName);
83 83
                 }
84 84
             }
Please login to merge, or discard this patch.