Skip to content

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