We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78baf59 commit d5e26baCopy full SHA for d5e26ba
1 file changed
src/Protocols/Amqp.php
@@ -233,13 +233,11 @@ protected function reconnect(): bool
233
{
234
if ($this->connection) {
235
236
- $queues = array_keys($this->queues);
237
-
238
if ($this->channel) {
239
$this->channel->close();
240
}
241
242
- if ($this->queues) {
+ if (!empty($this->queues)) {
243
$queues = array_keys($this->queues);
244
245
0 commit comments