/var/www/cobraambalaj/vendor/laravel/framework/src/Illuminate/Queue/Console
Edit: /var/www/cobraambalaj/vendor/laravel/framework/src/Illuminate/Queue/Console/RetryBatchCommand.php (1124B)
laravel[BatchRepository::class]->find($id = $this->argument('id'));
if (! $batch) {
$this->error("Unable to find a batch with ID [{$id}].");
return 1;
} elseif (empty($batch->failedJobIds)) {
$this->error('The given batch does not contain any failed jobs.');
return 1;
}
foreach ($batch->failedJobIds as $failedJobId) {
$this->call('queue:retry', ['id' => $failedJobId]);
}
}
}