Skip to content

Commit d69ab75

Browse files
committed
minor #52086 [Messenger] Simplify code (HypeMC)
This PR was merged into the 6.3 branch. Discussion ---------- [Messenger] Simplify code | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT Follow up to #52080 Commits ------- 49a452d [Messenger] Simplify code
2 parents 8a1fba8 + 49a452d commit d69ab75

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/Symfony/Component/Messenger/Command/FailedMessagesRetryCommand.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -158,11 +158,7 @@ private function runInteractive(string $failureTransportName, SymfonyStyle $io,
158158
// transports (like Doctrine), will cause the message
159159
// to be temporarily "acked", even if the user aborts
160160
// handling the message
161-
while (true) {
162-
if ($this->shouldStop) {
163-
break;
164-
}
165-
161+
while (!$this->shouldStop) {
166162
$envelopes = [];
167163
$this->phpSerializer?->acceptPhpIncompleteClass();
168164
try {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy