Skip to content

Commit

Permalink
Fix compatibility issue with latest Laravel updates. Fixes #156 and c…
Browse files Browse the repository at this point in the history
…loses #159.

Signed-off-by: Jason Lewis <[email protected]>
  • Loading branch information
jasonlewis committed Aug 19, 2014
1 parent 84da7cf commit f1e3f2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Routing/ControllerInspector.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class ControllerInspector extends IlluminateControllerInspector
* @param string $controller
* @return bool
*/
public function isRoutable(ReflectionMethod $method, $controller)
public function isRoutable(ReflectionMethod $method, $controller = null)
{
if ($method->class == 'Dingo\Api\Routing\Controller') {
return false;
Expand Down

0 comments on commit f1e3f2f

Please sign in to comment.