Skip to content

Conversation

amirhshokri
Copy link
Contributor

This PR refactors the src/Illuminate/Console/Parser::parseArgument method to use match expression instead of the older switch construct.

Benefits:

  • Cleaner and more modern syntax
  • Expression-based

@taylorotwell taylorotwell merged commit f392e00 into laravel:12.x Oct 2, 2025
63 checks passed
@amirhshokri amirhshokri deleted the 12.x-convert-switch-to-match branch October 2, 2025 09:30
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