Applied fixes from StyleCI

This commit is contained in:
Graham Campbell
2015-10-09 09:42:10 -04:00
committed by StyleCI Bot
parent 746b7aeb2a
commit d62598dd45

View File

@@ -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));