Skip to content

Commit

Permalink
Fixed configuration loading, deprecated since Symfony 4.2. (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
mediaxtend authored and roukmoute committed Sep 3, 2019
1 parent 08d249f commit 8df6e4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ class Configuration implements ConfigurationInterface
{
public function getConfigTreeBuilder(): NodeParentInterface
{
$treeBuilder = new TreeBuilder();
$rootNode = $treeBuilder->root('roukmoute_hashids');
$treeBuilder = new TreeBuilder('roukmoute_hashids');
$rootNode = $treeBuilder->getRootNode();

$rootNode
->children()
Expand Down

0 comments on commit 8df6e4d

Please sign in to comment.