From a3ec5d1a37286e317049b9d97f6bd5578b5465bb Mon Sep 17 00:00:00 2001 From: Manuel Carballar Date: Wed, 20 Dec 2023 14:28:54 +0100 Subject: [PATCH] fix: Use the right parameter in the call to the RabbitMQQueue constructor --- src/RabbitMQQueueWithDeclare.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RabbitMQQueueWithDeclare.php b/src/RabbitMQQueueWithDeclare.php index a1a3018..de64d7f 100644 --- a/src/RabbitMQQueueWithDeclare.php +++ b/src/RabbitMQQueueWithDeclare.php @@ -10,7 +10,7 @@ class RabbitMQQueueWithDeclare extends RabbitMQQueue { public function __construct(AbstractConnection $connection, string $default, array $options = []) { - parent::__construct($connection, $default, $options); + parent::__construct($connection, $default, false, $options); $this->declareQueue($this->getQueue(), true, false, $this->getQueueArguments($this->getQueue()));