From 1339b43fb7bfaf14c35265eb8c1d01082661e9f9 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 5 Feb 2020 16:39:54 +0100 Subject: [PATCH] Improve array docblock NO_CI --- Utils/ColorUtils.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Utils/ColorUtils.php b/Utils/ColorUtils.php index 2933a5f66..ee707cf88 100644 --- a/Utils/ColorUtils.php +++ b/Utils/ColorUtils.php @@ -39,7 +39,7 @@ final class ColorUtils * * @param int $rgbInt Value to convert * - * @return array + * @return array{r:int, g:int, b:int} * * @since 1.0.0 */ @@ -57,7 +57,7 @@ final class ColorUtils /** * Convert rgb to int * - * @param array $rgb Int rgb array + * @param array{r:int, g:int, b:int} $rgb Int rgb array * * @return int *