We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ac04f0 commit f8275b7Copy full SHA for f8275b7
1 file changed
tests/PHPStan/Analyser/nsrt/bug-12163.php
@@ -36,7 +36,7 @@ public function iterateRowColumnIndicesDecrementing(int $rows, int $columns): vo
36
$rowIndex = 0;
37
$columnIndex = 0;
38
for ($i = 0; $i < $size; $i++) {
39
- assertType('0', $rowIndex);
+ assertType('0', $rowIndex); // `0`, because the IF in line 41 is always TRUE
40
assertType('int<min, 0>', $columnIndex);
41
if ($columnIndex < $columns) {
42
$columnIndex--;
0 commit comments