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()));