Skip to content

Commit 338f08f

Browse files
authored
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 d2c6e8b commit 338f08f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎pkg/amqp-lib/AmqpContext.php‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ public function __construct(AbstractConnection $connection, $config = [])
7070

7171
$this->connection = $connection;
7272
$this->buffer = new Buffer();
73+
$this->subscribers = [];
7374
}
7475

7576
/**

0 commit comments

Comments
 (0)