Skip to content

Commit

Permalink
Add laravie/api@51f9c85 as suggested by @crynobone .
Browse files Browse the repository at this point in the history
Lumen stable isn't 5.3 yet. Thanks @hskrasek
  • Loading branch information
Peter Kaukov committed Aug 25, 2016
1 parent 2a04050 commit 9f3e2e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"illuminate/filesystem": "5.1.* || 5.2.* || 5.3.*",
"illuminate/log": "5.1.* || 5.2.* || 5.3.*",
"illuminate/pagination": "5.1.* || 5.2.* || 5.3.*",
"laravel/lumen-framework": "5.1.* || 5.2.* || 5.3.*",
"laravel/lumen-framework": "5.1.* || 5.2.*",
"lucadegasperi/oauth2-server-laravel": "5.0.*",
"mockery/mockery": "~0.9",
"phpunit/phpunit": "^4.8 || ^5.0",
Expand Down
4 changes: 4 additions & 0 deletions src/Routing/Adapter/Laravel.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,10 @@ public function prepareRouteForSerialization($route)
*/
public function gatherRouteMiddlewares($route)
{
if (method_exists($this->router, 'gatherRouteMiddleware')) {
return $this->router->gatherRouteMiddleware($route);
}

return $this->router->gatherRouteMiddlewares($route);
}

Expand Down

0 comments on commit 9f3e2e6

Please sign in to comment.