Skip to content

Commit 4bac1e3

Browse files
committed
Fix
1 parent 8f99730 commit 4bac1e3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/Analyser/Fiber/FiberScope.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public function filterByFalseyValue(Expr $expr): self
115115
return $scope;
116116
}
117117

118-
private function preprocessScope(Scope $scope): Scope
118+
private function preprocessScope(MutatingScope $scope): Scope
119119
{
120120
if ($this->nativeTypesPromoted) {
121121
$scope = $scope->doNotTreatPhpDocTypesAsCertain();

src/Analyser/Scope.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,6 @@ public function isInFirstLevelStatement(): bool;
168168
public function getPhpVersion(): PhpVersions;
169169

170170
/** @internal */
171-
public function toMutatingScope(): self;
171+
public function toMutatingScope(): MutatingScope;
172172

173173
}

0 commit comments

Comments
 (0)