Skip to content

Commit

Permalink
Fix TreeBuilder for sf5
Browse files Browse the repository at this point in the history
  • Loading branch information
toooni authored Jan 16, 2021
1 parent eedfd7e commit 6a3c533
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Invit/PlivoBundle/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ class Configuration implements ConfigurationInterface
*/
public function getConfigTreeBuilder()
{
$treeBuilder = new TreeBuilder();
$rootNode = $treeBuilder->root('invit_plivo');
$treeBuilder = new TreeBuilder('invit_plivo');

$rootNode
$treeBuilder->getRootNode()
->children()
->arrayNode('auth')
->children()
Expand Down

0 comments on commit 6a3c533

Please sign in to comment.