Skip to content

Commit 2e3e89a

Browse files
committed
drop wrong StaticPropertyFetch
1 parent 70cb68a commit 2e3e89a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Analyser/NodeScopeResolver.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6811,7 +6811,6 @@ private function processSureTypesForConditionalExpressionsAfterAssign(Scope $sco
68116811
} elseif (
68126812
!$expr instanceof PropertyFetch
68136813
&& !$expr instanceof ArrayDimFetch
6814-
&& !$expr instanceof StaticPropertyFetch
68156814
) {
68166815
continue;
68176816
}
@@ -6850,7 +6849,6 @@ private function processSureNotTypesForConditionalExpressionsAfterAssign(Scope $
68506849
} elseif (
68516850
!$expr instanceof PropertyFetch
68526851
&& !$expr instanceof ArrayDimFetch
6853-
&& !$expr instanceof StaticPropertyFetch
68546852
) {
68556853
continue;
68566854
}

0 commit comments

Comments
 (0)