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 baf4245

Browse filesBrowse files
committed
bug #35764 [Messenger] Add missing return in AmazonSqsReceiver::getMessageCount (mynameisbogdan)
This PR was merged into the 5.1-dev branch. Discussion ---------- [Messenger] Add missing return in AmazonSqsReceiver::getMessageCount | Q | A | ------------- | --- | Branch? | master <!-- see below --> | Bug fix? | yes | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | License | MIT Commits ------- 7042ff8 [Messenger] Add missing return in AmazonSqsReceiver::getMessageCount
2 parents 2b68d53 + 7042ff8 commit baf4245
Copy full SHA for baf4245

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.