Browse Source

Merge branch '3.0-i18n-next' of github.com:cakephp/cakephp into 3.0-i18n-next

Jose Lorenzo Rodriguez 11 years ago
parent
commit
1087f8c54c
1 changed files with 6 additions and 6 deletions
  1. 6 6
      src/I18n/ChainMessagesLoader.php

+ 6 - 6
src/I18n/ChainMessagesLoader.php

@@ -49,10 +49,10 @@ class ChainMessagesLoader {
 	public function __invoke() {
 		foreach ($this->_loaders as $k => $loader) {
 			if (!is_callable($loader)) {
-				throw new \RuntimeException(
-					sprintf('Loader "%s" in the chain is not a valid callable'),
+				throw new \RuntimeException(sprintf(
+					'Loader "%s" in the chain is not a valid callable',
 					$k
-				);
+				));
 			}
 
 			$package = $loader();
@@ -62,10 +62,10 @@ class ChainMessagesLoader {
 			}
 
 			if (!($package instanceof Package)) {
-				throw new \RuntimeException(
-					sprintf('Loader "%s" in the chain did not return a valid Package object'),
+				throw new \RuntimeException(sprintf(
+					'Loader "%s" in the chain did not return a valid Package object',
 					$k
-				);
+				));
 			}
 
 			if (count($package->getMessages())) {