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 5, 2025
1 parent 9515d6d commit 0633f2a
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 0633f2a

Please sign in to comment.