Skip to content

Commit f02b5c1

Browse files
committed
Update TypeSpecifier.php
1 parent 4604390 commit f02b5c1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Analyser/TypeSpecifier.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,8 @@ public function specifyTypesInCondition(
351351
}
352352
}
353353

354-
// infer $list[$index] after $index < count($list) - N
355-
// infer $list[$index] after $index <= count($list) - N
354+
// infer $list[$index] after $zeroOrMore < count($list) - N
355+
// infer $list[$index] after $zeroOrMore <= count($list) - N
356356
if (
357357
$context->true()
358358
&& $expr->right instanceof Expr\BinaryOp\Minus

0 commit comments

Comments
 (0)