[Messenger] Add missing return in AmazonSqsReceiver::getMessageCount
This commit is contained in:
parent
2b68d53526
commit
7042ff86ec
@ -93,7 +93,7 @@ class AmazonSqsReceiver implements ReceiverInterface, MessageCountAwareInterface
|
||||
public function getMessageCount(): int
|
||||
{
|
||||
try {
|
||||
$this->connection->getMessageCount();
|
||||
return $this->connection->getMessageCount();
|
||||
} catch (HttpExceptionInterface $e) {
|
||||
throw new TransportException($e->getMessage(), 0, $e);
|
||||
}
|
||||
|
Reference in New Issue
Block a user