Skip to content

Commit f2d9b59

Browse files
committed
formatting
1 parent be679d3 commit f2d9b59

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/Illuminate/Queue/Console/RetryCommand.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class RetryCommand extends Command
1818
*/
1919
protected $signature = 'queue:retry
2020
{id?* : The ID of the failed job or "all" to retry all jobs}
21-
{--queue= : Name of the queue to be retried}
21+
{--queue= : Retry all of the failed jobs for the specified queue}
2222
{--range=* : Range of job IDs (numeric) to be retried}';
2323

2424
/**
@@ -64,10 +64,13 @@ protected function getJobIds()
6464
}
6565

6666
if ($queue = $this->option('queue')) {
67-
$ids = collect($this->laravel['queue.failer']->all())->where('queue', $queue)->pluck('id')->toArray();
67+
$ids = collect($this->laravel['queue.failer']->all())
68+
->where('queue', $queue)
69+
->pluck('id')
70+
->toArray();
6871

6972
if (count($ids) === 0) {
70-
$this->error("Unable to find failed jobs in a queue named [{$queue}].");
73+
$this->error("Unable to find failed jobs for queue [{$queue}].");
7174
}
7275

7376
return $ids;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy