diff --git a/src/Illuminate/Queue/DatabaseQueue.php b/src/Illuminate/Queue/DatabaseQueue.php index 7e1688c03bca..75a0161e81c8 100644 --- a/src/Illuminate/Queue/DatabaseQueue.php +++ b/src/Illuminate/Queue/DatabaseQueue.php @@ -2,7 +2,6 @@ namespace Illuminate\Queue; -use Throwable; use Illuminate\Support\Carbon; use Illuminate\Database\Connection; use Illuminate\Queue\Jobs\DatabaseJob; @@ -195,6 +194,7 @@ public function pop($queue = null) if ($job = $this->getNextAvailableJob($queue)) { return $this->marshalJob($queue, $job); } + return null; }); }