diff --git a/Transport/Connection.php b/Transport/Connection.php index 7b742ce..a3d6b81 100644 --- a/Transport/Connection.php +++ b/Transport/Connection.php @@ -266,7 +266,7 @@ private static function normalizeQueueArguments(array $arguments): array private static function hasCaCertConfigured(array $amqpOptions): bool { - return (isset($amqpOptions['cacert']) && '' !== $amqpOptions['cacert']) || '' !== ini_get('amqp.cacert'); + return (isset($amqpOptions['cacert']) && '' !== $amqpOptions['cacert']) || '' !== \ini_get('amqp.cacert'); } /**