1: | <?php declare(strict_types = 1); |
2: | |
3: | namespace PHPStan\Node\Method; |
4: | |
5: | use PhpParser\Node; |
6: | use PhpParser\Node\Expr\Array_; |
7: | use PhpParser\Node\Expr\StaticCall; |
8: | use PHPStan\Analyser\Scope; |
9: | |
10: | |
11: | |
12: | |
13: | |
14: | class MethodCall |
15: | { |
16: | |
17: | public function __construct( |
18: | private Node\Expr\MethodCall|StaticCall|Array_ $node, |
19: | private Scope $scope, |
20: | ) |
21: | { |
22: | } |
23: | |
24: | |
25: | |
26: | |
27: | public function getNode() |
28: | { |
29: | return $this->node; |
30: | } |
31: | |
32: | public function getScope(): Scope |
33: | { |
34: | return $this->scope; |
35: | } |
36: | |
37: | } |
38: | |