فهرست منبع

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()
     public function getConfigTree()
     {
     {
         $treeBuilder = new TreeBuilder();
         $treeBuilder = new TreeBuilder();
-        $rootNode = $treeBuilder->root('swiftmailer:config', 'array');
+        $rootNode = $treeBuilder->root('swiftmailer', 'array');
 
 
         $rootNode
         $rootNode
             ->scalarNode('transport')
             ->scalarNode('transport')