Skip to content

Commit fe5ac6a

Browse files
committed
merged branch elliot/issue-1768-expected-alias (PR #1807)
Commits ------- d664f5f Changed the wording of the exception thrown when Bundle::getAlias() returns something different to the Container::underscore version, fixes #1768 Discussion ---------- Changed exception wording Changed the wording of the exception thrown when Bundle::getAlias() returns something different to the Container::underscore version, fixes #1768
2 parents 853935f + d664f5f commit fe5ac6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpKernel/Bundle/Bundle.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function getContainerExtension()
8181
throw new \LogicException(sprintf(
8282
'The extension alias for the default extension of a '.
8383
'bundle must be the underscored version of the '.
84-
'bundle name ("%s" vs "%s")',
84+
'bundle name ("%s" instead of "%s")',
8585
$expectedAlias, $extension->getAlias()
8686
));
8787
}

0 commit comments

Comments
 (0)