Completed
Push — master ( eb6f0f...0f89cf )
by Nicholas
05:27
created
src/scheme.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -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.
src/regulate.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -80,6 +80,9 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.