Skip to content

Commit

Permalink
Ignore line that is conditional to "new" Symfony versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Lustmored committed Dec 21, 2023
1 parent 9f88e5b commit 768f328
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 768f328

Please sign in to comment.