|
@@ -264,7 +264,8 @@ |
|
|
block discarded – undo |
|
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)) { |
Please login to merge, or discard this patch.