浏览代码

Updated the root node to match the new syntax

Christophe Coevoet 14 年之前
父节点
当前提交
9d2a9dd65d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Symfony/Bundle/SwiftmailerBundle/DependencyInjection/Configuration.php

+ 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')