@@ -264,7 +264,8 @@ |
||
264 | 264 | * @param float|integer $h The hue degree (0 - 359) |
265 | 265 | * @param float|integer $s The saturation percentage (0 - 100) |
266 | 266 | * @param float|integer $l The lighting percentage (0 - 100) |
267 | - * @return boolean TRUE if the color is dark, FALSE otherwise. |
|
267 | + * @param boolean|null $is_dark |
|
268 | + * @return boolean|null TRUE if the color is dark, FALSE otherwise. |
|
268 | 269 | */ |
269 | 270 | protected static function is_dark(&$is_dark, float $h = 0, float $s = 0, float $l = 0) { |
270 | 271 | if (is_null($is_dark)) { |
@@ -14,7 +14,7 @@ |
||
14 | 14 | * Choose the best way to represent the color as a CSS value. Will use either |
15 | 15 | * a hex or rgba value depending on the alpha value. |
16 | 16 | * |
17 | - * @param color|array $color The color |
|
17 | + * @param color $color The color |
|
18 | 18 | * @return string The CSS value |
19 | 19 | */ |
20 | 20 | public static function best($color) { |