We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f99730 commit 4bac1e3Copy full SHA for 4bac1e3
2 files changed
src/Analyser/Fiber/FiberScope.php
@@ -115,7 +115,7 @@ public function filterByFalseyValue(Expr $expr): self
115
return $scope;
116
}
117
118
- private function preprocessScope(Scope $scope): Scope
+ private function preprocessScope(MutatingScope $scope): Scope
119
{
120
if ($this->nativeTypesPromoted) {
121
$scope = $scope->doNotTreatPhpDocTypesAsCertain();
src/Analyser/Scope.php
@@ -168,6 +168,6 @@ public function isInFirstLevelStatement(): bool;
168
public function getPhpVersion(): PhpVersions;
169
170
/** @internal */
171
- public function toMutatingScope(): self;
+ public function toMutatingScope(): MutatingScope;
172
173
0 commit comments