Fix travis errors
This commit is contained in:
parent
74c8754092
commit
ccebb8d1a7
@ -8131,4 +8131,3 @@ function dolGetButtonAction($label, $html = '', $actionType = 'default', $url =
|
||||
|
||||
return '<div class="inline-block divButAction"><'.$tag.' '.$compiledAttributes.'>'.$html.'</'.$tag.'></div>';
|
||||
}
|
||||
|
||||
|
||||
@ -2253,7 +2253,7 @@ function colorAdjustBrightness($hex, $steps)
|
||||
*/
|
||||
function colorDarker($hex, $percent)
|
||||
{
|
||||
$steps = intval(255 * $percent / 100 ) * -1;
|
||||
$steps = intval(255 * $percent / 100) * -1;
|
||||
return colorAdjustBrightness($hex, $steps);
|
||||
}
|
||||
|
||||
@ -2264,7 +2264,7 @@ function colorDarker($hex, $percent)
|
||||
*/
|
||||
function colorLighten($hex, $percent)
|
||||
{
|
||||
$steps = intval(255 * $percent / 100 );
|
||||
$steps = intval(255 * $percent / 100);
|
||||
return colorAdjustBrightness($hex, $steps);
|
||||
}
|
||||
|
||||
@ -2272,7 +2272,7 @@ function colorLighten($hex, $percent)
|
||||
/**
|
||||
* @param string $hex color in hex
|
||||
* @param float $alpha 0 to 1
|
||||
* @param bool $returnArray
|
||||
* @param bool $returnArray set to 1 to return an array instead of string
|
||||
* @return string
|
||||
*/
|
||||
function colorHexToRgb($hex, $alpha = false, $returnArray = false)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user