X-Git-Url: https://git.rapsys.eu/packbundle/blobdiff_plain/8afb44104c7b42e3cc211f3e16255ea40d5d45d9..2fca74b53635d6de665cedd189ee6356083dc8e3:/DependencyInjection/Configuration.php?ds=inline

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')