From 22c6a9aae25e6f650086527456f0d3cdb6891970 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Mon, 28 Oct 2019 19:21:17 +0100 Subject: [PATCH] Update to new symfony 4.x style --- DependencyInjection/Configuration.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index 5456a29..bfa4b3c 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -22,7 +22,7 @@ class Configuration implements ConfigurationInterface { */ public function getConfigTreeBuilder() { //Get TreeBuilder object - $treeBuilder = new TreeBuilder(); + $treeBuilder = new TreeBuilder('parameters'); //Get ExecutableFinder object $finder = new ExecutableFinder(); @@ -84,7 +84,7 @@ class Configuration implements ConfigurationInterface { //Here we define the parameters that are allowed to configure the bundle. $treeBuilder //Parameters - ->root('parameters') + ->getRootNode() ->addDefaultsIfNotSet() ->children() ->arrayNode('rapsys_pack') -- 2.41.1