Skip to content

Commit

Permalink
symfony 5.4 fix TreeBuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusrusu committed Apr 25, 2023
1 parent 0c5ba7e commit 38e55a8
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 @@ -8,8 +8,8 @@ class Configuration implements ConfigurationInterface
{
public function getConfigTreeBuilder()
{
$treeBuilder = new TreeBuilder();
$rootNode = $treeBuilder->root('test_api_rest');
$treeBuilder = new TreeBuilder("test_api_rest");
$rootNode = $treeBuilder->getRootNode();

$rootNode
->children()
Expand Down

0 comments on commit 38e55a8

Please sign in to comment.