We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4604390 commit f02b5c1Copy full SHA for f02b5c1
1 file changed
src/Analyser/TypeSpecifier.php
@@ -351,8 +351,8 @@ public function specifyTypesInCondition(
351
}
352
353
354
- // infer $list[$index] after $index < count($list) - N
355
- // infer $list[$index] after $index <= count($list) - N
+ // infer $list[$index] after $zeroOrMore < count($list) - N
+ // infer $list[$index] after $zeroOrMore <= count($list) - N
356
if (
357
$context->true()
358
&& $expr->right instanceof Expr\BinaryOp\Minus
0 commit comments