@@ -67,7 +67,7 @@ |
||
| 67 | 67 | } |
| 68 | 68 | |
| 69 | 69 | /** |
| 70 | - * @param $action |
|
| 70 | + * @param string $action |
|
| 71 | 71 | * @param $middleware |
| 72 | 72 | */ |
| 73 | 73 | private function setMiddleware($action, $middleware) |
@@ -149,10 +149,10 @@ |
||
| 149 | 149 | /** |
| 150 | 150 | * @param $handlers |
| 151 | 151 | */ |
| 152 | - private function callHandlers($handlers){ |
|
| 152 | + private function callHandlers($handlers) { |
|
| 153 | 153 | $handlers = is_array($handlers) ? $handlers : [$handlers]; |
| 154 | 154 | foreach ($handlers as $handler) { |
| 155 | - if($this->handle($handler) !== true){ |
|
| 155 | + if ($this->handle($handler) !== true) { |
|
| 156 | 156 | break; |
| 157 | 157 | } |
| 158 | 158 | } |