Completed
Push — master ( 083327...d35b71 )
by Sergey
04:41
created
src/RequestObjectBinder.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,8 +111,7 @@
 block discarded – undo
111 111
             $actionReflection = $classReflection->getMethod($action[1]);
112 112
         } elseif ($action instanceof \Closure || is_string($action)) {
113 113
             $actionReflection = new \ReflectionFunction($action);
114
-        }
115
-        else {
114
+        } else {
116 115
             $classReflection = new \ReflectionClass($action);
117 116
             $actionReflection = $classReflection->getMethod('__invoke');
118 117
         }
Please login to merge, or discard this patch.