Prechádzať zdrojové kódy

Updated the root node to match the new syntax

Christophe Coevoet 14 rokov pred
rodič
commit
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')