#75 - ecs fix
This commit is contained in:
parent
89722eb9eb
commit
5fd20eba28
@ -25,7 +25,7 @@ class ColorGenerator
|
||||
}
|
||||
|
||||
for ($i = 0; $i < mb_strlen($text); $i++) {
|
||||
$hash = abs((int) (($hash << 2) - $hash) + mb_ord($text[$i]));
|
||||
$hash = abs((int)(($hash << 2) - $hash) + mb_ord($text[$i]));
|
||||
}
|
||||
|
||||
return $hash;
|
||||
|
Loading…
x
Reference in New Issue
Block a user