mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2025-01-09 00:20:08 +00:00
Add missing semicolon
This commit is contained in:
parent
cd1e04cd8a
commit
3279af8041
@ -115,7 +115,7 @@ public static function gradient($string, $start, $end) {
|
|||||||
if (count($string) === 0) return '';
|
if (count($string) === 0) return '';
|
||||||
|
|
||||||
if ($start === $end) {
|
if ($start === $end) {
|
||||||
return '<span style="color:rgb('.($start >> 16 & 255).','.($start >> 8 & 255).','.($start & 255).')">'.\wcf\util\StringUtil::encodeHTML($string).'</span>'
|
return '<span style="color:rgb('.($start >> 16 & 255).','.($start >> 8 & 255).','.($start & 255).')">'.\wcf\util\StringUtil::encodeHTML($string).'</span>';
|
||||||
}
|
}
|
||||||
|
|
||||||
$r = (int) ((($start >> 16 & 255) - ($end >> 16 & 255)) / (count($string) - 1));
|
$r = (int) ((($start >> 16 & 255) - ($end >> 16 & 255)) / (count($string) - 1));
|
||||||
|
Loading…
Reference in New Issue
Block a user