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

[11.x] simplify passing arguments to when() #53815

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

browner12
Copy link
Contributor

the when() method accepts 3 parameters. we can just pass 3 arguments rather than putting them into an array, and then spreading them.

the `when()` method accepts 3 parameters. we can just pass 3 arguments rather than putting them into an array, and then spreading them.
@taylorotwell taylorotwell merged commit ff91d09 into laravel:11.x Dec 10, 2024
40 checks passed
@browner12 browner12 deleted the AB-unnecessary-spread-operator branch December 10, 2024 15:54
@shaedrich
Copy link
Contributor

weird … 🤔 But good catch 👍🏻

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