fix: Updated TreeBuilder contructor arguments
This commit is contained in:
parent
50e9a4c621
commit
31822ab7e7
|
@ -21,8 +21,8 @@ class ConfigBuilder implements ConfigurationInterface {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getConfigTreeBuilder() {
|
public function getConfigTreeBuilder() {
|
||||||
$treeBuilder = new TreeBuilder();
|
$treeBuilder = new TreeBuilder('configs', 'array');
|
||||||
$rootNode = $treeBuilder->root('configs');
|
$rootNode = $treeBuilder->getRootNode();
|
||||||
$ref = $rootNode->children()
|
$ref = $rootNode->children()
|
||||||
->arrayNode('general')
|
->arrayNode('general')
|
||||||
->children()
|
->children()
|
||||||
|
|
Loading…
Reference in New Issue