Skip to content

Commit 2bb5070

Browse files
committed
Revert "Update bug-12163.php"
This reverts commit e75772d.
1 parent e75772d commit 2bb5070

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/PHPStan/Analyser/nsrt/bug-12163.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,10 @@ public function integerRangeGrowsBothDirections(int $size, int $index): void
8080
for ($i = 0; $i < $size; $i++) {
8181
assertType('int<3, 12>', $index);
8282
if ($index > 7) {
83-
$index = rand(3, 4);
83+
/** @var int<3, 4> $index */
8484
} else {
8585
$index = $index + 5;
8686
}
8787
}
88-
assertType('int<3, 12>', $index);
8988
}
9089
}

0 commit comments

Comments
 (0)