mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-12 10:26:32 +00:00
fixed CS
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user