Skip to content

Commit dbaa93d

Browse files
committed
Revert "FiberScope - attempt to fix asking for types on mutated scope"
This reverts commit f180591.
1 parent 58edd5a commit dbaa93d

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/Analyser/Fiber/FiberScope.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -123,14 +123,6 @@ public function filterByFalseyValue(Expr $expr): self
123123

124124
private function preprocessScope(MutatingScope $scope): Scope
125125
{
126-
if ($scope->getAnonymousFunctionReflection() !== $this->getAnonymousFunctionReflection()) {
127-
return $this->toMutatingScope();
128-
}
129-
130-
if ($scope->getFunction() !== $this->getFunction()) {
131-
return $this->toMutatingScope();
132-
}
133-
134126
if ($this->nativeTypesPromoted) {
135127
$scope = $scope->doNotTreatPhpDocTypesAsCertain();
136128
}

0 commit comments

Comments
 (0)