1: <?php declare(strict_types = 1);
2:
3: namespace PHPStan\Node;
4:
5: use PhpParser\Node\Expr;
6: use PHPStan\Analyser\Scope;
7:
8: /** @api */
9: class MatchExpressionArmBody
10: {
11:
12: public function __construct(private Scope $scope, private Expr $body)
13: {
14: }
15:
16: public function getScope(): Scope
17: {
18: return $this->scope;
19: }
20:
21: public function getBody(): Expr
22: {
23: return $this->body;
24: }
25:
26: }
27: