Skip to content

Commit

Permalink
Merge branch '5.4' into 6.3
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
nicolas-grekas committed Aug 14, 2023
2 parents 59733c9 + 24e5cc9 commit 0391200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Transport/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ public function ack(\AMQPEnvelope $message, string $queueName): bool

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

public function setup(): void
Expand Down

0 comments on commit 0391200

Please sign in to comment.