Skip to content

Commit

Permalink
Merge pull request codeigniter4#9190 from neznaika0/fix-rector-return…
Browse files Browse the repository at this point in the history
…-type

refactor: return type to closuer in FilterCheck
  • Loading branch information
kenjis authored Sep 15, 2024
2 parents 904e4f2 + 255a867 commit 0735e19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/Commands/Utilities/FilterCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 0735e19

Please sign in to comment.