Skip to content

Commit e56b22c

Browse files
authored
Merge pull request #836 from Steveb-p/fix-amqp-init
Fix un-initialized property use
2 parents 72b339f + 8ffb5ed commit e56b22c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/amqp-lib/AmqpSubscriptionConsumer.php

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ class AmqpSubscriptionConsumer implements InteropAmqpSubscriptionConsumer
3434

3535
public function __construct(AmqpContext $context, bool $heartbeatOnTick)
3636
{
37+
$this->subscribers = [];
3738
$this->context = $context;
3839
$this->heartbeatOnTick = $heartbeatOnTick;
3940
}

0 commit comments

Comments
 (0)