@@ -53,7 +53,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 | */ |