From b2d3580e1153ce780e409b979f9b8156cee688ba Mon Sep 17 00:00:00 2001 From: Tchama Date: Mon, 3 Aug 2020 15:50:56 +0200 Subject: [PATCH] sf4, fix treebuilder depreciation --- DependencyInjection/Configuration.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index 162f6ce99..6c4fa7477 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -17,8 +17,8 @@ class Configuration implements ConfigurationInterface */ public function getConfigTreeBuilder() { - $treeBuilder = new TreeBuilder(); - $rootNode = $treeBuilder->root('chill_doc_store'); + $treeBuilder = new TreeBuilder('chill_doc_store'); + $rootNode = $treeBuilder->getRootNode('chill_doc_store'); // Here you should define the parameters that are allowed to // configure your bundle. See the documentation linked above for