From e8677b1e4ce3c1ba67127c69311ac0ec6264e896 Mon Sep 17 00:00:00 2001 From: Jose Lorenzo Rodriguez Date: Sat, 26 Jul 2014 20:59:46 +0200 Subject: [PATCH] Fixed formatting --- src/I18n/Formatter/IcuFormatter.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/I18n/Formatter/IcuFormatter.php b/src/I18n/Formatter/IcuFormatter.php index dc6929e5b67..a874a67f9aa 100644 --- a/src/I18n/Formatter/IcuFormatter.php +++ b/src/I18n/Formatter/IcuFormatter.php @@ -53,12 +53,12 @@ public function format($locale, $message, array $vars) { } $result = $formatter->format($vars); - if ($result === false) { - throw new Exception\CannotFormat( - $formatter->getErrorMessage(), - $formatter->getErrorCode() - ); - } + if ($result === false) { + throw new Exception\CannotFormat( + $formatter->getErrorMessage(), + $formatter->getErrorCode() + ); + } return $result; }