Completed
Push — master ( ceb7a9...179abe )
by Nicholas
09:21
created
src/convert.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -88,9 +88,9 @@  discard block
 block discarded – undo
88 88
 	/**
89 89
 	 * Convert a RGB array to a HSL array
90 90
 	 * 
91
-	 * @param  float $r The red value (0 - 255)
92
-	 * @param  float $g The green value (0 - 255)
93
-	 * @param  float $b The blue value (0 - 255)
91
+	 * @param  integer $r The red value (0 - 255)
92
+	 * @param  integer $g The green value (0 - 255)
93
+	 * @param  integer $b The blue value (0 - 255)
94 94
 	 * @return array    The resulting HSL array
95 95
 	 */
96 96
 	public static function rgb_to_hsl(int $r = 0, int $g = 0, int $b = 0, $accuracy = 2) :array {
@@ -274,7 +274,6 @@  discard block
 block discarded – undo
274 274
 	 * 
275 275
 	 * @param  float  $h The hue value (0 - 360)
276 276
 	 * @param  float  $s The saturation value (0 - 100)
277
-	 * @param  float  $b The brightness value (0 - 100)
278 277
 	 * @return array     The resulting RGB array
279 278
 	 */
280 279
 	public static function hsb_to_rgb(float $h = 0.0, float $s = 0.0, float $v = 0.0, int $accuracy = 3) :array {
Please login to merge, or discard this patch.