aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Color.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Color.php')
-rw-r--r--lib/public/Color.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/public/Color.php b/lib/public/Color.php
index c8ba3a1ff15..ed955b8f056 100644
--- a/lib/public/Color.php
+++ b/lib/public/Color.php
@@ -1,4 +1,5 @@
<?php
+
/**
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
@@ -125,7 +126,7 @@ class Color {
* Calculate steps between two Colors
* @param int $steps start color
* @param Color[] $ends end color
- * @return array{0: int, 1: int, 2: int} [r,g,b] steps for each color to go from $steps to $ends
+ * @return array{0: float, 1: float, 2: float} [r,g,b] steps for each color to go from $steps to $ends
* @since 25.0.0
*/
private static function stepCalc(int $steps, array $ends): array {