@@ -80,6 +80,9 @@ |
||
| 80 | 80 | $hex_str = generate::expand_shorthand($hex_str); |
| 81 | 81 | } |
| 82 | 82 | |
| 83 | + /** |
|
| 84 | + * @param string $hex_str |
|
| 85 | + */ |
|
| 83 | 86 | protected static function _validate_hex_str(&$hex_str) { |
| 84 | 87 | if (is_string($hex_str) && preg_match('/\A#?(?:[0-9a-f]{3}|[0-9a-f]{6})\Z/i', $hex_str)) { |
| 85 | 88 | return; |