Test Setup Failed
Push — test ( f4daf3...d87e3e )
by Jonathan
04:13
created
src/Object/Representation/ColorRepresentation.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -237,6 +237,9 @@  discard block
 block discarded – undo
237 237
         $this->setValues($value);
238 238
     }
239 239
 
240
+    /**
241
+     * @param integer $variant
242
+     */
240 243
     public function hasAlpha($variant = null)
241 244
     {
242 245
         if ($variant === null) {
@@ -393,7 +396,7 @@  discard block
 block discarded – undo
393 396
      * @param float $s Saturation
394 397
      * @param float $l Lightness
395 398
      *
396
-     * @return array RGB array
399
+     * @return double[] RGB array
397 400
      */
398 401
     public static function hslToRgb($h, $s, $l)
399 402
     {
@@ -426,6 +429,9 @@  discard block
 block discarded – undo
426 429
     /**
427 430
      * Helper function for hslToRgb. Even blacker magic.
428 431
      *
432
+     * @param double $m1
433
+     * @param double $m2
434
+     * @param double $hue
429 435
      * @return float Color value
430 436
      */
431 437
     private static function hueToRgb($m1, $m2, $hue)
Please login to merge, or discard this patch.