Passed
Pull Request — master (#30)
by Nícollas
01:59
created
src/MiddlewareTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
     protected function instanceMiddleware($middleware)
96 96
     {
97 97
         if (!preg_match("/\\\/", $middleware)) {
98
-            if(!$middlewareClass = $this->getMiddlewareByAlias($middleware)) return;
98
+            if (!$middlewareClass = $this->getMiddlewareByAlias($middleware)) return;
99 99
 
100 100
             return new $middlewareClass();
101 101
         }
Please login to merge, or discard this patch.