Skip to content

Commit ed3777b

Browse files
authored
Merge pull request #1 from juukie/juukie-patch-1
Cleanup
2 parents 93cfc04 + a8fccec commit ed3777b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/QueueRedisCommand.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,8 @@ public function __construct()
4444
public function handle()
4545
{
4646
$this->queue = $this->argument('queue') ?: config('queue.connections.redis.queue');
47-
$this->clear = $this->option('clear');
4847

49-
if($this->clear) {
48+
if ($this->option('clear')) {
5049
$this->clear();
5150
}
5251
}

0 commit comments

Comments
 (0)