Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Commands/MakeJobCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class MakeJobCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->executeWithTiming(function () {
$name = $this->argument('name');
Expand Down
3 changes: 1 addition & 2 deletions src/Commands/QueueFailedCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Doppar\Queue\Commands;

use Phaseolies\Console\Schedule\Command;
use Doppar\Queue\QueueManager;
use Doppar\Queue\Models\FailedJob;

class QueueFailedCommand extends Command
Expand All @@ -28,7 +27,7 @@ class QueueFailedCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
$failedJobs = FailedJob::orderBy('failed_at', 'desc')->get();

Expand Down
3 changes: 1 addition & 2 deletions src/Commands/QueueFlushCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Doppar\Queue\Commands;

use Phaseolies\Console\Schedule\Command;
use Doppar\Queue\QueueManager;
use Doppar\Queue\Models\FailedJob;

class QueueFlushCommand extends Command
Expand All @@ -28,7 +27,7 @@ class QueueFlushCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
$id = $this->option('id');

Expand Down
2 changes: 1 addition & 1 deletion src/Commands/QueueMonitorCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class QueueMonitorCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
$queues = QueueJob::groupBy('queue')->pluck('queue');

Expand Down
2 changes: 1 addition & 1 deletion src/Commands/QueueRetryCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class QueueRetryCommand extends Command
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
$id = $this->option('id');
$manager = app(QueueManager::class);
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/QueueRunCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function __construct(QueueManager $manager)
*
* @return int
*/
protected function handle(): int
public function handle(): int
{
return $this->withTiming(function () {
$queue = $this->option('queue', 'default');
Expand Down