diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index 376cc0c2..83aa392e 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -35,10 +35,10 @@ public function getConfigTreeBuilder() { $c = $this->container; - $tb = new TreeBuilder($this->rootNodeName); + $tb = new TreeBuilder('jms_translation'); // Keep compatibility with symfony/config < 4.2 if (!method_exists($tb, 'getRootNode')) { - $rootNode = $tb->root($this->rootNodeName); + $rootNode = $tb->root('jms_translation'); } else { $rootNode = $tb->getRootNode(); }