Skip to content

Commit a2acdc6

Browse files
authored
Deprecated: AMQPQueue::consume(): Passing null to parameter php-enqueue#3 ($consumer_tag) of type string is deprecated
Fixed Deprecation
1 parent 28faa1a commit a2acdc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/amqp-ext/AmqpSubscriptionConsumer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function consume(int $timeout = 0): void
6868
} finally {
6969
$extConnection->setReadTimeout($consumeTimeout);
7070
}
71-
}, AMQP_JUST_CONSUME);
71+
}, AMQP_JUST_CONSUME, $consumer->getConsumerTag());
7272
} catch (\AMQPQueueException $e) {
7373
if ('Consumer timeout exceed' == $e->getMessage()) {
7474
return;

0 commit comments

Comments
 (0)