Skip to content

Commit

Permalink
no need to recheck the batch jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmastech committed Feb 6, 2025
1 parent 39567bb commit 8851991
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Illuminate/Bus/PendingBatch.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ protected function ensureJobIsBatchable(object|array $job): void
{
foreach (Arr::wrap($job) as $job) {
if ($job instanceof PendingBatch) {
$this->ensureJobIsBatchable($job->jobs->all());

return;
}

Expand Down

0 comments on commit 8851991

Please sign in to comment.