Merge pull request #1028 from cachethq/analysis-Xk6bP8
Applied fixes from StyleCI
This commit is contained in:
@@ -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