sf4, fix treebuilder depreciation

This commit is contained in:
Tchama 2020-08-03 15:50:56 +02:00
parent a709589229
commit b2d3580e11

View File

@ -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