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); }