Explorar o código

Updated the root node to match the new syntax

Christophe Coevoet %!s(int64=14) %!d(string=hai) anos
pai
achega
9d2a9dd65d

+ 1 - 1
src/Symfony/Bundle/SwiftmailerBundle/DependencyInjection/Configuration.php

@@ -32,7 +32,7 @@ class Configuration
     public function getConfigTree()
     {
         $treeBuilder = new TreeBuilder();
-        $rootNode = $treeBuilder->root('swiftmailer:config', 'array');
+        $rootNode = $treeBuilder->root('swiftmailer', 'array');
 
         $rootNode
             ->scalarNode('transport')