Skip to content

Conversation

@browner12
Copy link
Contributor

times() is a static method on the factory, and should be called as such, not as an instance method.

times() also already calls new() so no reason to do it twice.

`times()` is a static method on the factory, and should be called as such, not as an instance method. `times()` also already calls `new()` so no reason to do it twice.
@taylorotwell taylorotwell merged commit d66b6c0 into laravel:11.x Jan 9, 2025
40 checks passed
@browner12 browner12 deleted the AB-fix-times-calls branch January 9, 2025 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants