Completed
Push — master ( 1143dd...fab173 )
by Sinnarasa
04:27
created
src/Routing/Middleware.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -149,10 +149,10 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.