Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7042ff8

Browse filesBrowse files
[Messenger] Add missing return in AmazonSqsReceiver::getMessageCount
1 parent 2b68d53 commit 7042ff8
Copy full SHA for 7042ff8

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/Messenger/Bridge/AmazonSqs/Transport/AmazonSqsReceiver.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Messenger/Bridge/AmazonSqs/Transport/AmazonSqsReceiver.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public function reject(Envelope $envelope): void
9393
public function getMessageCount(): int
9494
{
9595
try {
96-
$this->connection->getMessageCount();
96+
return $this->connection->getMessageCount();
9797
} catch (HttpExceptionInterface $e) {
9898
throw new TransportException($e->getMessage(), 0, $e);
9999
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.