From: Fabien Potencier Date: Thu, 26 Jan 2012 14:06:15 +0000 (+0100) Subject: fixed CS X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=bf61cc534489258a04dc30bcdf24cbacbb66b665;p=web%2Fkonrad%2Ftwig.git fixed CS --- diff --git a/lib/Twig/Extension/Core.php b/lib/Twig/Extension/Core.php index 312286c..2d5522c 100644 --- a/lib/Twig/Extension/Core.php +++ b/lib/Twig/Extension/Core.php @@ -299,7 +299,7 @@ function twig_random($values = null) } if (is_int($values) || is_float($values)) { - return ($values < 0) ? mt_rand($values, 0) : mt_rand(0, $values); + return $values < 0 ? mt_rand($values, 0) : mt_rand(0, $values); } if ($values instanceof Traversable) {