Skip to content

[13.x] Add assertPushedOnce()#60150

Merged
taylorotwell merged 1 commit into
laravel:13.xfrom
weshooper:pushed-once
May 17, 2026
Merged

[13.x] Add assertPushedOnce()#60150
taylorotwell merged 1 commit into
laravel:13.xfrom
weshooper:pushed-once

Conversation

@weshooper
Copy link
Copy Markdown
Contributor

@weshooper weshooper commented May 17, 2026

PhpStorm flaps about parameters matching default values:

- Queue::assertPushedTimes(JobsComingOutOurEarsJob::class, 1);
+ Queue::assertPushedTimes(JobsComingOutOurEarsJob::class);

But that reads weird. This reads nicer and silences the IDE:

- Queue::assertPushedTimes(JobsComingOutOurEarsJob::class, 1);
+ Queue::assertPushedOnce(JobsComingOutOurEarsJob::class);

@taylorotwell taylorotwell merged commit 19b9d2f into laravel:13.x May 17, 2026
54 checks passed
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