@@ -111,8 +111,7 @@ |
||
| 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 | } |