Failed Conditions
Push — master ( 298f38...e9d38a )
by Arnold
10s
created
src/Controller/RouteAction.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,8 +40,7 @@
 block discarded – undo
40 40
 
41 41
         try {
42 42
             $args = isset($route->args) ? 
43
-                $route->args :
44
-                $this->getFunctionArgs($route, new \ReflectionMethod($this, $method));            
43
+                $route->args : $this->getFunctionArgs($route, new \ReflectionMethod($this, $method));            
45 44
         } catch (\RuntimeException $e) {
46 45
             return $this->setResponseError(400, 'Bad Request');   
47 46
         }
Please login to merge, or discard this patch.