Skip to content

Commit 0391200

Browse files
Merge branch '5.4' into 6.3
* 5.4: Dump Valid constaints on debug command #46544 [DependencyInjection] fix dump xml with array/object/enum default value [HttpFoundation] Add a slightly more verbose comment about a warning on UploadedFile [Messenger] BatchHandlerTrait - fix phpdoc typo Remove me from CODEOWNERS Always return bool from messenger amqp conncetion nack [Console] Fix linewraps in OutputFormatter
2 parents 59733c9 + 24e5cc9 commit 0391200

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Transport/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ public function ack(\AMQPEnvelope $message, string $queueName): bool
440440

441441
public function nack(\AMQPEnvelope $message, string $queueName, int $flags = \AMQP_NOPARAM): bool
442442
{
443-
return $this->queue($queueName)->nack($message->getDeliveryTag(), $flags);
443+
return $this->queue($queueName)->nack($message->getDeliveryTag(), $flags) ?? true;
444444
}
445445

446446
public function setup(): void

0 commit comments

Comments
 (0)