Skip to content

Commit

Permalink
Merge pull request #14 from tabbi89/patch-1
Browse files Browse the repository at this point in the history
Remove deprecation
  • Loading branch information
maks-rafalko authored Dec 8, 2018
2 parents 4b51f1f + dae3838 commit 10343d8
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 @@ -9,8 +9,8 @@ class Configuration implements ConfigurationInterface
{
public function getConfigTreeBuilder()
{
$treeBuilder = new TreeBuilder();
$rootNode = $treeBuilder->root('tactician_domain_event');
$treeBuilder = new TreeBuilder('tactician_domain_event');
$rootNode = method_exists(TreeBuilder::class, 'getRootNode') ? $treeBuilder->getRootNode() : $treeBuilder->root('tactician_domain_event');

$rootNode
->children()
Expand Down

0 comments on commit 10343d8

Please sign in to comment.