We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22e05fd commit 8f6e62bCopy full SHA for 8f6e62b
1 file changed
src/Node/ReturnStatement.php
@@ -4,7 +4,7 @@
4
5
use PhpParser\Node;
6
use PhpParser\Node\Stmt\Return_;
7
-use PHPStan\Analyser\MutatingScope;
+use PHPStan\Analyser\Scope;
8
9
/**
10
* @api
@@ -14,12 +14,12 @@ final class ReturnStatement
14
15
private Node\Stmt\Return_ $returnNode;
16
17
- public function __construct(private MutatingScope $scope, Return_ $returnNode)
+ public function __construct(private Scope $scope, Return_ $returnNode)
18
{
19
$this->returnNode = $returnNode;
20
}
21
22
- public function getScope(): MutatingScope
+ public function getScope(): Scope
23
24
return $this->scope;
25
0 commit comments