From 40a1562077d94c11deec1583d7c020357d4781bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Tue, 12 Mar 2019 09:09:26 +0100 Subject: [PATCH] update doc --- htdocs/core/lib/functions2.lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/lib/functions2.lib.php b/htdocs/core/lib/functions2.lib.php index 99823fba3af..2c756d36a2f 100644 --- a/htdocs/core/lib/functions2.lib.php +++ b/htdocs/core/lib/functions2.lib.php @@ -2183,7 +2183,7 @@ function colorArrayToHex($arraycolor, $colorifnotfound = '888888') * * @param string $stringcolor String with hex (FFFFFF) or comma RGB ('255,255,255') * @param array $colorifnotfound Color code array to return if entry not defined - * @return string RGB hex value (without # before). For example: FF00FF + * @return array RGB hex value (without # before). For example: FF00FF * @see colorArrayToHex() */ function colorStringToArray($stringcolor, $colorifnotfound = array(88,88,88)) @@ -2274,7 +2274,7 @@ function colorLighten($hex, $percent) * @param string $hex color in hex * @param float $alpha 0 to 1 * @param bool $returnArray set to 1 to return an array instead of string - * @return string + * @return string|array */ function colorHexToRgb($hex, $alpha = false, $returnArray = false) {