prolic / HumusAmqp

PHP 7.4 AMQP library
https://humusamqp.readthedocs.io/
MIT License
76 stars 17 forks source link

Use AMQPChannel::close() in AbstractConsumer #72

Closed genhoi closed 5 years ago

genhoi commented 5 years ago

Currently there is a comment in AbstractConsumer that amqp extension does not have close method for channel. But according amqp extension repo this method is available since version 1.8.0 . And according README.md minimal required version for HumusAmqp is even greater - 1.9.3. So maybe this small hack can be removed now?