Skip to content

Commit

Permalink
fix: deprecation of root() called by name
Browse files Browse the repository at this point in the history
  • Loading branch information
luca-simonetti committed Dec 6, 2019
1 parent d38f3ab commit 75b4bc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ class Configuration implements ConfigurationInterface
*/
public function getConfigTreeBuilder()
{
$treeBuilder = new TreeBuilder();
$rootNode = $treeBuilder->root('limenius_react');
$treeBuilder = new TreeBuilder('limenius_react');
$rootNode = $treeBuilder->getRootNode();
$rootNode
->children()
->enumNode('default_rendering')
Expand Down

0 comments on commit 75b4bc0

Please sign in to comment.