@@ -278,7 +278,6 @@ discard block |
||
278 | 278 | * colors. This method doesn't prevent that, but it will reduce how often |
279 | 279 | * duplicate colors appear. |
280 | 280 | * |
281 | - * @param float $light The light value to check |
|
282 | 281 | * @return float The alternate light value to use |
283 | 282 | */ |
284 | 283 | protected static function alt_saturation(float $saturation = 0.0) { |
@@ -307,7 +306,8 @@ discard block |
||
307 | 306 | * @param float|integer $h The hue degree (0 - 359) |
308 | 307 | * @param float|integer $s The saturation percentage (0 - 100) |
309 | 308 | * @param float|integer $l The lighting percentage (0 - 100) |
310 | - * @return boolean TRUE if the color is dark, FALSE otherwise. |
|
309 | + * @param boolean|null $is_dark |
|
310 | + * @return boolean|null TRUE if the color is dark, FALSE otherwise. |
|
311 | 311 | */ |
312 | 312 | protected static function is_dark(&$is_dark, float $h = 0, float $s = 0, float $l = 0) { |
313 | 313 | if (is_null($is_dark)) { |