We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1010175 commit e874a56Copy full SHA for e874a56
src/Illuminate/Queue/Console/RetryCommand.php
@@ -30,10 +30,10 @@ class RetryCommand extends Command
30
public function fire()
31
{
32
foreach ($this->getJobIds() as $id) {
33
- $job = $this->getJob($id);
+ $job = $this->laravel['queue.failer']->find($id);
34
35
if (is_null($job)) {
36
- $this->error("No failed job matches the given ID [{$id}].");
+ $this->error("Unable to find failed job with ID [{$id}].");
37
} else {
38
$this->retryJob($job);
39
@@ -60,16 +60,6 @@ protected function getJobIds()
60
return $ids;
61
}
62
63
- /**
64
- * Get the job instance.
65
- * @param string $id
66
- * @return stdClass
67
- */
68
- protected function getJob($id)
69
- {
70
- return $this->laravel['queue.failer']->find($id);
71
- }
72
-
73
/**
74
* Retry the queue job.
75
*
0 commit comments