Skip to content

Commit

Permalink
misc: add comment for future PHP version change
Browse files Browse the repository at this point in the history
  • Loading branch information
romm committed Oct 23, 2023
1 parent d57ffae commit 4618985
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Type/Types/ListType.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public function accepts(mixed $value): bool
return false;
}

// PHP8.1 use `array_is_list`
$i = 0;

foreach ($value as $key => $item) {
Expand Down

0 comments on commit 4618985

Please sign in to comment.