From 8ffb5ed4bd7ed85acd01e356209850ad07337a82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Niedzielski?= Date: Fri, 3 May 2019 17:15:18 +0200 Subject: [PATCH] Fix un-initialized property use Resolves #833 --- pkg/amqp-lib/AmqpSubscriptionConsumer.php | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/amqp-lib/AmqpSubscriptionConsumer.php b/pkg/amqp-lib/AmqpSubscriptionConsumer.php index 694c134dc..a5917dbed 100644 --- a/pkg/amqp-lib/AmqpSubscriptionConsumer.php +++ b/pkg/amqp-lib/AmqpSubscriptionConsumer.php @@ -34,6 +34,7 @@ class AmqpSubscriptionConsumer implements InteropAmqpSubscriptionConsumer public function __construct(AmqpContext $context, bool $heartbeatOnTick) { + $this->subscribers = []; $this->context = $context; $this->heartbeatOnTick = $heartbeatOnTick; }