From c62e3613486ae908f98352b68efd31db8dd81dc9 Mon Sep 17 00:00:00 2001 From: Emil Masiakowski Date: Wed, 9 Nov 2022 12:03:52 +0100 Subject: [PATCH] code style fix (native_constant_invocation) --- pkg/amqp-ext/AmqpSubscriptionConsumer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/amqp-ext/AmqpSubscriptionConsumer.php b/pkg/amqp-ext/AmqpSubscriptionConsumer.php index 4b03f6bbb..08a3df1c6 100644 --- a/pkg/amqp-ext/AmqpSubscriptionConsumer.php +++ b/pkg/amqp-ext/AmqpSubscriptionConsumer.php @@ -68,7 +68,7 @@ public function consume(int $timeout = 0): void } finally { $extConnection->setReadTimeout($consumeTimeout); } - }, AMQP_JUST_CONSUME); + }, \AMQP_JUST_CONSUME); } catch (\AMQPQueueException $e) { if ('Consumer timeout exceed' == $e->getMessage()) { return;