Skip to content

Conversation

@amirhshokri
Copy link
Contributor

@amirhshokri amirhshokri commented Oct 27, 2025

Refactored the jsonSerialize() method in Collection class to use match expression for cleaner and more readable code.

Continuation of #57236

@taylorotwell taylorotwell merged commit c958008 into laravel:12.x Oct 27, 2025
68 checks passed
@amirhshokri amirhshokri deleted the 12.x-refactor-to-match branch October 27, 2025 13:57
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