Completed
Pull Request — master (#2)
by ARCANEDEV
13:51
created
src/Color.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      * @param  int        $red
54 54
      * @param  int        $green
55 55
      * @param  int        $blue
56
-     * @param  float|int  $alpha
56
+     * @param  double  $alpha
57 57
      */
58 58
     public function __construct($red = 0, $green = 0, $blue = 0, $alpha = 1.0)
59 59
     {
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
      * @param  int        $red
87 87
      * @param  int        $green
88 88
      * @param  int        $blue
89
-     * @param  float|int  $alpha
89
+     * @param  double  $alpha
90 90
      *
91 91
      * @return self
92 92
      */
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
     /**
248 248
      * Check if the color is bright.
249 249
      *
250
-     * @param  float|int  $contrast
250
+     * @param  integer  $contrast
251 251
      *
252 252
      * @return bool
253 253
      */
@@ -263,7 +263,7 @@  discard block
 block discarded – undo
263 263
     /**
264 264
      * Check if the color is dark.
265 265
      *
266
-     * @param  float|int  $contrast
266
+     * @param  integer  $contrast
267 267
      *
268 268
      * @return bool
269 269
      */
Please login to merge, or discard this patch.
src/ColorConverter.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      * @param  float|int  $saturation
59 59
      * @param  float|int  $value
60 60
      *
61
-     * @return array
61
+     * @return string
62 62
      */
63 63
     public static function hsvToHex($hue, $saturation, $value)
64 64
     {
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
      * @param  float|int  $saturation
73 73
      * @param  float|int  $value
74 74
      *
75
-     * @return array
75
+     * @return string
76 76
      */
77 77
     public function fromHsvToHex($hue, $saturation, $value)
78 78
     {
Please login to merge, or discard this patch.