소스 검색

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