Test Setup Failed
Push — test ( 9fddab...9e5e30 )
by Jonathan
04:15
created
src/Object/Representation/ColorRepresentation.php 1 patch
Doc Comments   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -421,7 +421,7 @@  discard block
 block discarded – undo
421 421
      * @param float $s Saturation
422 422
      * @param float $l Lightness
423 423
      *
424
-     * @return int[] RGB array
424
+     * @return integer[] RGB array
425 425
      */
426 426
     public static function hslToRgb($h, $s, $l)
427 427
     {
@@ -448,6 +448,9 @@  discard block
 block discarded – undo
448 448
     /**
449 449
      * Helper function for hslToRgb. Even blacker magic.
450 450
      *
451
+     * @param double $m1
452
+     * @param double $m2
453
+     * @param double $hue
451 454
      * @return float Color value
452 455
      */
453 456
     private static function hueToRgb($m1, $m2, $hue)
@@ -469,11 +472,11 @@  discard block
 block discarded – undo
469 472
     /**
470 473
      * Converts RGB to HSL. Color inversion of previous black magic is white magic?
471 474
      *
472
-     * @param int|float $red   Red
475
+     * @param integer $red   Red
473 476
      * @param int|float $green Green
474
-     * @param int|float $blue  Blue
477
+     * @param integer $blue  Blue
475 478
      *
476
-     * @return float[] HSL array
479
+     * @return double[] HSL array
477 480
      */
478 481
     public static function rgbToHsl($red, $green, $blue)
479 482
     {
Please login to merge, or discard this patch.