Skip to content

Conversation

@ppodds
Copy link
Contributor

@ppodds ppodds commented Dec 13, 2021

Replace the whole switch statement with the match function, and delete return in the last line which is never be executed.

@ppodds ppodds marked this pull request as ready for review December 13, 2021 16:53
@taylorotwell taylorotwell merged commit f00a541 into laravel:master Dec 13, 2021
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