Skip to content

Conversation

@xurshudyan
Copy link
Contributor

@xurshudyan xurshudyan commented Jul 8, 2025

This PR refactors multiple switch statements into match expressions. Since the Telescope requires PHP 8.0 or higher, it leverages the modern match feature for clearer, more concise code with strict comparisons and better return handling

@taylorotwell taylorotwell merged commit d89be8f into laravel:5.x Jul 8, 2025
16 checks passed
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