diff --git a/src/Illuminate/Queue/RedisQueue.php b/src/Illuminate/Queue/RedisQueue.php index a4d9499b63ee..7bda32fb8d3f 100644 --- a/src/Illuminate/Queue/RedisQueue.php +++ b/src/Illuminate/Queue/RedisQueue.php @@ -229,7 +229,7 @@ protected function blockingPop($queue) { $rawBody = $this->getConnection()->blpop($queue, $this->blockFor); - if (! is_null($rawBody)) { + if (! empty($rawBody)) { $payload = json_decode($rawBody[1], true); $payload['attempts']++;