Skip to content

Commit

Permalink
Remove deprecated tree builder method call
Browse files Browse the repository at this point in the history
  • Loading branch information
ipf committed Jun 17, 2019
1 parent 4922f8e commit 3e89147
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
{
$treeBuilder = new TreeBuilder();
$rootNode = $treeBuilder->root('subugoe_resolver');
$treeBuilder = new TreeBuilder('subugoe_resolver');
$rootNode = $treeBuilder->getRootNode();

$rootNode
->children()
Expand Down

0 comments on commit 3e89147

Please sign in to comment.