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] Solve exception error: Undefined array key "", in artisan route:list command #41031

Merged
merged 2 commits into from
Feb 15, 2022

Conversation

manuglopez
Copy link
Contributor

If you run php artisan route:list --sort without any param you get an exception.

$ php artisan route:list --sort

ErrorException

Undefined array key ""

at vendor/laravel/framework/src/Illuminate/Foundation/Console/RouteListCommand.php:162

But by default routes would be sorted by uri, based on help on this command.

@driesvints driesvints changed the title Solve exception error: Undefined array key "", in artisan route:list command [9.x] Solve exception error: Undefined array key "", in artisan route:list command Feb 15, 2022
@taylorotwell taylorotwell merged commit 4e3812a into laravel:9.x Feb 15, 2022
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.

3 participants