dingo / api

A RESTful API package for the Laravel and Lumen frameworks.
BSD 3-Clause "New" or "Revised" License
9.33k stars 1.25k forks source link

Fix php artisan api:routes #1771

Closed gonpre closed 3 years ago

gonpre commented 3 years ago

This fix deals with the error reported on the bug #1770, is caused by a function added on https://github.com/laravel/framework/commit/d9e28dcb1f4a5638b33829d919bd7417321ab39e, the flushMiddlewareGroups function was added to be compliant with Foundation/Console/RouteListCommand.php handle function.

danieltharp commented 3 years ago

Noting that manually implementing this change was all I needed for api:routes to work in Laravel 8.35.1.

specialtactics commented 3 years ago

Hey @gonpre thanks for this fix!

Will tag in next release