Skip to content

Commit e626610

Browse files
committed
Revert "drive by cleanup"
This reverts commit 73105182565b9539d24a842b82b7416dc101f2f4.
1 parent 6949740 commit e626610

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Analyser/MutatingScope.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2006,7 +2006,7 @@ public function issetCheck(Expr $expr, callable $typeCallback, ?bool $result = n
20062006
return false;
20072007
}
20082008

2009-
// If offset cannot be null, store this error message and see if one of the earlier offsets is.
2009+
// If offset is cannot be null, store this error message and see if one of the earlier offsets is.
20102010
// E.g. $array['a']['b']['c'] ?? null; is a valid coalesce if a OR b or C might be null.
20112011
if ($hasOffsetValue->yes()) {
20122012
$result = $typeCallback($type->getOffsetValueType($dimType));

0 commit comments

Comments
 (0)