From d7683ba6ee4c85714a5b7568333901823fb4c5b5 Mon Sep 17 00:00:00 2001 From: anarbek Date: Mon, 22 Apr 2019 07:36:28 +0300 Subject: [PATCH] fix unknown var --- demo/amqp_consumer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/amqp_consumer.php b/demo/amqp_consumer.php index 36ce6a52a..7881733c3 100644 --- a/demo/amqp_consumer.php +++ b/demo/amqp_consumer.php @@ -80,6 +80,6 @@ function shutdown($channel, $connection) register_shutdown_function('shutdown', $channel, $connection); // Loop as long as the channel has callbacks registered -while ($ch->is_consuming()) { +while ($channel ->is_consuming()) { $channel->wait(); }