From 1105791f8aad6da9d93823e327098fe40dac8818 Mon Sep 17 00:00:00 2001 From: Stefan Doorn Date: Thu, 17 Aug 2023 10:54:40 +0200 Subject: [PATCH] Adjust TreeBuilder --- src/DependencyInjection/Configuration.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DependencyInjection/Configuration.php b/src/DependencyInjection/Configuration.php index c40e0c7..f9d7ef0 100644 --- a/src/DependencyInjection/Configuration.php +++ b/src/DependencyInjection/Configuration.php @@ -14,9 +14,9 @@ final class Configuration implements ConfigurationInterface */ public function getConfigTreeBuilder(): TreeBuilder { - $treeBuilder = new TreeBuilder(); + $treeBuilder = new TreeBuilder('sylius_street_number_plugin'); - $rootNode = $treeBuilder->root('sylius_street_number_plugin'); + $rootNode = $treeBuilder->getRootNode(); $rootNode ->children() ->arrayNode('features')