1: <?php declare(strict_types = 1);
2:
3: namespace PHPStan\Analyser;
4:
5: use PhpParser\Node\Stmt;
6:
7: /**
8: * @api
9: */
10: final class EndStatementResult
11: {
12:
13: public function __construct(
14: private Stmt $statement,
15: private StatementResult $result,
16: )
17: {
18: }
19:
20: public function getStatement(): Stmt
21: {
22: return $this->statement;
23: }
24:
25: public function getResult(): StatementResult
26: {
27: return $this->result;
28: }
29:
30: }
31: