From 255a8678a58e7793fbf9f4ae1fde321d6b4cbe03 Mon Sep 17 00:00:00 2001 From: neznaika0 Date: Sat, 14 Sep 2024 10:06:39 +0300 Subject: [PATCH] fix: rector notify --- system/Commands/Utilities/FilterCheck.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/Commands/Utilities/FilterCheck.php b/system/Commands/Utilities/FilterCheck.php index bb3811fc0ce8..1536cef0602e 100644 --- a/system/Commands/Utilities/FilterCheck.php +++ b/system/Commands/Utilities/FilterCheck.php @@ -167,7 +167,7 @@ private function showTable( */ private function colorItems(array $array): array { - return array_map(function ($item) { + return array_map(function ($item): array|string { if (is_array($item)) { return $this->colorItems($item); }