Skip to content

Commit 3109fda

Browse files
committed
Fix un-initialized property use
Resolves #833
1 parent 41823f7 commit 3109fda

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)