Skip to content

Commit 0735e19

Browse files
authored
Merge pull request #9190 from neznaika0/fix-rector-return-type
refactor: return type to closuer in FilterCheck
2 parents 904e4f2 + 255a867 commit 0735e19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Commands/Utilities/FilterCheck.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ private function showTable(
167167
*/
168168
private function colorItems(array $array): array
169169
{
170-
return array_map(function ($item) {
170+
return array_map(function ($item): array|string {
171171
if (is_array($item)) {
172172
return $this->colorItems($item);
173173
}

0 commit comments

Comments
 (0)