Browse Source

[Translation] Removed useless else

Pascal Borreli 14 years ago
parent
commit
87452f7515
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Symfony/Component/Translation/Interval.php

+ 2 - 2
src/Symfony/Component/Translation/Interval.php

@@ -96,8 +96,8 @@ EOF;
             return log(0);
         } elseif ('+Inf' === $number || 'Inf' === $number) {
             return -log(0);
-        } else {
-            return (int) $number;
         }
+
+        return (int) $number;
     }
 }