Skip to content

Commit 260cfc9

Browse files
committed
Update list-type.php
1 parent 8b7eb21 commit 260cfc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/PHPStan/Analyser/nsrt/list-type.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ function testAppendImmediatelyAfterLastElement(array $list): void
141141
$list[3] = 21;
142142
assertType('non-empty-list<int>&hasOffsetValue(0, 17)&hasOffsetValue(1, 19)&hasOffsetValue(2, 21)&hasOffsetValue(3, 21)', $list);
143143

144-
// whole in the list -> turns it into a array
144+
// hole in the list -> turns it into a array
145145

146146
$list[5] = 21;
147147
assertType('non-empty-array<int<0, max>, int>&hasOffsetValue(0, 17)&hasOffsetValue(1, 19)&hasOffsetValue(2, 21)&hasOffsetValue(3, 21)&hasOffsetValue(5, 21)', $list);

0 commit comments

Comments
 (0)