Skip to content

Conversation

@stevebauman
Copy link
Contributor

In #56536, I forgot to update the default value of the $jobs parameter of the BusFake::chain() method to match the Dispatcher::chain() method. Sorry! 😢

/**
* Create a new chain of queueable jobs.
*
* @param \Illuminate\Support\Collection|array|null $jobs
* @return \Illuminate\Foundation\Bus\PendingChain
*/
public function chain($jobs = null)

/**
* Create a new chain of queueable jobs.
*
* @param \Illuminate\Support\Collection|array $jobs
* @return \Illuminate\Foundation\Bus\PendingChain
*/
public function chain($jobs)

@stevebauman stevebauman changed the title [12.x] Support null parameter in BusFake [12.x] Support null parameter in BusFake::chain() method Aug 25, 2025
@taylorotwell taylorotwell merged commit 9053ac2 into laravel:12.x Aug 25, 2025
21 of 62 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