Skip to content

Commit d57a001

Browse files
committed
using implemented $this->getQueue() instead of $this->queue->getName()
1 parent ff06c32 commit d57a001

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/FintechFab/LaravelQueueRabbitMQ/Queue/Jobs/RabbitMQJob.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ public function release($delay = 0)
8383

8484
// push back to a queue
8585
if ($delay > 0) {
86-
Queue::later($delay, $job, $data, $this->queue->getName());
86+
Queue::later($delay, $job, $data, $this->getQueue());
8787
} else {
88-
Queue::push($job, $data, $this->queue->getName());
88+
Queue::push($job, $data, $this->getQueue());
8989
}
9090
}
9191

0 commit comments

Comments
 (0)