From 58dc6a117d5064d02d4818ed0c411ab5a1f89047 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Tue, 13 Feb 2024 22:35:13 +0100 Subject: [PATCH] Remove no-longer needed PHPStan supression --- src/RabbitMq/AMQPConnectionFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RabbitMq/AMQPConnectionFactory.php b/src/RabbitMq/AMQPConnectionFactory.php index dd0881c..d2b553a 100644 --- a/src/RabbitMq/AMQPConnectionFactory.php +++ b/src/RabbitMq/AMQPConnectionFactory.php @@ -37,7 +37,7 @@ public function __invoke(ContainerInterface $container): AMQPStreamConnection // We have to pass the config as the ssl_protocol to avoid an internal deprecation warning // When the ssl_protocol is a config instance, it is internally set as config. // See https://github.com/php-amqplib/php-amqplib/blob/b4ade54ebe4685873f6316f9a05fc2c77a9e28f9/PhpAmqpLib/Connection/AMQPStreamConnection.php#L48-L55 - ssl_protocol: $connectionConfig, // @phpstan-ignore-line + ssl_protocol: $connectionConfig, ); }