From 768f328dd4aad4a3b3bd97e3caf46b00087579b0 Mon Sep 17 00:00:00 2001 From: Jakub Caban Date: Thu, 21 Dec 2023 13:14:16 +0100 Subject: [PATCH] Ignore line that is conditional to "new" Symfony versions --- src/DependencyInjection/Configuration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DependencyInjection/Configuration.php b/src/DependencyInjection/Configuration.php index 80cd13e..3398f37 100644 --- a/src/DependencyInjection/Configuration.php +++ b/src/DependencyInjection/Configuration.php @@ -125,7 +125,7 @@ private function createTreeBuilder(string $name): TreeBuilder { // Symfony 4.2 + if (method_exists(TreeBuilder::class, '__construct')) { - return new TreeBuilder($name); + return new TreeBuilder($name); /** @phpstan-ignore-line */ } // Symfony 4.1 and below