Applied fixes from StyleCI
This commit is contained in:
committed by
StyleCI Bot
parent
746b7aeb2a
commit
d62598dd45
@@ -106,7 +106,8 @@ if (!function_exists('color_contrast')) {
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function color_contrast($hexcolor) {
|
||||
function color_contrast($hexcolor)
|
||||
{
|
||||
$r = hexdec(substr($hexcolor, 0, 2));
|
||||
$g = hexdec(substr($hexcolor, 2, 2));
|
||||
$b = hexdec(substr($hexcolor, 4, 2));
|
||||
|
||||
Reference in New Issue
Block a user