Skip to content

Commit

Permalink
Removed children call
Browse files Browse the repository at this point in the history
  • Loading branch information
SvetlinStaevWorldstores committed Jan 14, 2019
1 parent 285cf57 commit a2bf551
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 @@ -29,9 +29,9 @@ public function getConfigTreeBuilder()
$tb = new TreeBuilder('jms_i18n_routing');

if (method_exists($tb, 'getRootNode')) {
$root = $tb->getRootNode()->children();
$root = $tb->getRootNode();
} else {
$root = $tb->root('jms_i18n_routing')->children();
$root = $tb->root('jms_i18n_routing');
}

$root
Expand Down

0 comments on commit a2bf551

Please sign in to comment.