Skip to content

Commit

Permalink
Fixed AMQP ConsumerMessage::getQueue return type. (#6635)
Browse files Browse the repository at this point in the history
  • Loading branch information
xuanyanwow authored Mar 29, 2024
1 parent 33086e9 commit a8f7788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Message/ConsumerMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function setQueue(string $queue): static

public function getQueue(): string
{
return $this->queue;
return (string) $this->queue;
}

public function isRequeue(): bool
Expand Down

0 comments on commit a8f7788

Please sign in to comment.