Skip to content

Commit f1e3f2f

Browse files
committed
Fix compatibility issue with latest Laravel updates. Fixes #156 and closes #159.
Signed-off-by: Jason Lewis <[email protected]>
1 parent 84da7cf commit f1e3f2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Routing/ControllerInspector.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class ControllerInspector extends IlluminateControllerInspector
1414
* @param string $controller
1515
* @return bool
1616
*/
17-
public function isRoutable(ReflectionMethod $method, $controller)
17+
public function isRoutable(ReflectionMethod $method, $controller = null)
1818
{
1919
if ($method->class == 'Dingo\Api\Routing\Controller') {
2020
return false;

0 commit comments

Comments
 (0)