Skip to content

Commit a071bcb

Browse files
committed
[amqp-bunny] Fix "Warning: array_key_exists() expects parameter 2 to be array, null given"
Warning: array_key_exists() expects parameter 2 to be array, null given in /mqdev/pkg/amqp-lib/AmqpContext.php on line 320
1 parent 338f08f commit a071bcb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎pkg/amqp-bunny/AmqpContext.php‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ public function __construct($bunnyChannel, $config = [])
7777
}
7878

7979
$this->buffer = new Buffer();
80+
$this->subscribers = [];
8081
}
8182

8283
/**

0 commit comments

Comments
 (0)