@@ -35,7 +35,7 @@ discard block |
||
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 |
||
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 | } |