Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[9.x] Fix the error message when no routes are detected #41017

Merged
merged 2 commits into from
Feb 15, 2022
Merged

[9.x] Fix the error message when no routes are detected #41017

merged 2 commits into from
Feb 15, 2022

Conversation

LukeTowers
Copy link
Contributor

This fixes the error message that's displayed when Laravel can't find any routes to list. Router->getRoutes() returns a RouteCollectionInterface, not an array.

This fixes the error message that's displayed when Laravel can't find any routes to list. Router->getRoutes() returns a RouteCollectionInterface, not an array.
@driesvints driesvints changed the title Fix the error message when no routes are detected [9.x] Fix the error message when no routes are detected Feb 15, 2022
@taylorotwell taylorotwell merged commit ba4b11d into laravel:9.x Feb 15, 2022
@LukeTowers LukeTowers deleted the patch-2 branch February 15, 2022 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants