@@ -51,6 +51,9 @@ |
||
| 51 | 51 | return $this->color->jsonSerialize(); |
| 52 | 52 | } |
| 53 | 53 | |
| 54 | + /** |
|
| 55 | + * @param scheme $scheme_class |
|
| 56 | + */ |
|
| 54 | 57 | protected function get_scheme(string $scheme_name, string $return_type = 'hex', $scheme_class) :array { |
| 55 | 58 | if (!is_null($cached = $this->cache->get(get_class($scheme_class).'_'.$scheme_name.'_'.$return_type, $this->hex()))) { |
| 56 | 59 | return $cached; |
@@ -333,6 +333,7 @@ |
||
| 333 | 333 | * @param float $h The hue degree (0 - 359) |
| 334 | 334 | * @param float $s The saturation percentage (0 - 100) |
| 335 | 335 | * @param float $l The lighting percentage (0 - 100) |
| 336 | + * @param boolean|null $is_dark |
|
| 336 | 337 | * @return void |
| 337 | 338 | */ |
| 338 | 339 | protected static function is_dark(&$is_dark, float $h = 0.0, float $s = 0.0, float $l = 0.0) { |