瀏覽代碼

Changed the wording of the exception thrown when Bundle::getAlias() returns something different to the Container::underscore version, fixes #1768

Elliot Anderson 14 年之前
父節點
當前提交
d664f5f087
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Symfony/Component/HttpKernel/Bundle/Bundle.php

+ 1 - 1
src/Symfony/Component/HttpKernel/Bundle/Bundle.php

@@ -81,7 +81,7 @@ abstract class Bundle extends ContainerAware implements BundleInterface
                     throw new \LogicException(sprintf(
                         'The extension alias for the default extension of a '.
                         'bundle must be the underscored version of the '.
-                        'bundle name ("%s" vs "%s")',
+                        'bundle name ("%s" instead of "%s")',
                         $expectedAlias, $extension->getAlias()
                     ));
                 }