From d861541ffd3056c78340683a08e88b80bc7388b0 Mon Sep 17 00:00:00 2001 From: markus-moser Date: Mon, 22 Jan 2024 16:11:01 +0100 Subject: [PATCH] Ignore PHPStan in configuration tree --- src/DependencyInjection/Configuration.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/DependencyInjection/Configuration.php b/src/DependencyInjection/Configuration.php index 44eb0542..beed1e5c 100644 --- a/src/DependencyInjection/Configuration.php +++ b/src/DependencyInjection/Configuration.php @@ -35,6 +35,8 @@ public function getConfigTreeBuilder(): TreeBuilder /** @var ArrayNodeDefinition $rootNode */ $rootNode = $treeBuilder->getRootNode(); + + /* @phpstan-ignore-next-line */ $rootNode ->children() ->arrayNode('index_service')