Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
calchen committed Mar 14, 2020
2 parents 41df7b6 + 34aae30 commit 9ed3676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MnsQueue.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public function pop($queue = null)
try {
$message = $queue->receiveMessage($this->waitSeconds);
} catch (MessageNotExistException $e) {
return null;
return;
}

return new MnsJob($this->container, $queue, $message, $this->connectionName);
Expand Down

0 comments on commit 9ed3676

Please sign in to comment.