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