From 8669c57a6ea4f4debff84edcedb4e4bba8d830b1 Mon Sep 17 00:00:00 2001 From: Nick Date: Mon, 20 Dec 2021 15:11:22 +0800 Subject: [PATCH] Fixed bug that `AMQPConnection` does not adapt `php7.3`. --- src/AMQPConnection.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/AMQPConnection.php b/src/AMQPConnection.php index 6e4de53..cb47c98 100644 --- a/src/AMQPConnection.php +++ b/src/AMQPConnection.php @@ -79,7 +79,10 @@ class AMQPConnection extends AbstractConnection */ protected $exited = false; - protected Channel $chan; + /** + * @var Channel + */ + protected $chan; public function __construct( string $user,