Skip to content

Commit 436a3c6

Browse files
committed
ignore
1 parent 4b9b1ce commit 436a3c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Rector/ToNativeUsagesRector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -665,8 +665,8 @@ protected function refactorKey(PropertyFetch $fetch): ?Node
665665
protected function refactorMatch(Match_ $match): ?Node
666666
{
667667
$cond = $match->cond;
668-
while ($cond instanceof AlwaysRememberedExpr) {
669-
$cond = $cond->getExpr();
668+
while ($cond instanceof AlwaysRememberedExpr) { // @phpstan-ignore phpstanApi.class (backwards compatibility not guaranteed)
669+
$cond = $cond->getExpr(); // @phpstan-ignore phpstanApi.method (backwards compatibility not guaranteed)
670670
}
671671
if (($cond instanceof PropertyFetch || $cond instanceof NullsafePropertyFetch)
672672
&& $this->inConfiguredClasses($cond->var)

0 commit comments

Comments
 (0)