File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 3131 "illuminate/filesystem" : " 5.1.* || 5.2.* || 5.3.*" ,
3232 "illuminate/log" : " 5.1.* || 5.2.* || 5.3.*" ,
3333 "illuminate/pagination" : " 5.1.* || 5.2.* || 5.3.*" ,
34- "laravel/lumen-framework" : " 5.1.* || 5.2.* || 5.3.* " ,
34+ "laravel/lumen-framework" : " 5.1.* || 5.2.*" ,
3535 "lucadegasperi/oauth2-server-laravel" : " 5.0.*" ,
3636 "mockery/mockery" : " ~0.9" ,
3737 "phpunit/phpunit" : " ^4.8 || ^5.0" ,
Original file line number Diff line number Diff line change @@ -226,6 +226,10 @@ public function prepareRouteForSerialization($route)
226226 */
227227 public function gatherRouteMiddlewares ($ route )
228228 {
229+ if (method_exists ($ this ->router , 'gatherRouteMiddleware ' )) {
230+ return $ this ->router ->gatherRouteMiddleware ($ route );
231+ }
232+
229233 return $ this ->router ->gatherRouteMiddlewares ($ route );
230234 }
231235
You can’t perform that action at this time.
0 commit comments