| 1: | <?php declare(strict_types = 1); |
| 2: | |
| 3: | namespace PHPStan\Analyser; |
| 4: | |
| 5: | use PhpParser\Node\Stmt; |
| 6: | use PHPStan\Turbo\ShadowedByTurboExtension; |
| 7: | |
| 8: | |
| 9: | |
| 10: | |
| 11: | #[ShadowedByTurboExtension(implementation: __DIR__ . '/../../turbo-ext/src/EndStatementResult.cpp')] |
| 12: | final class EndStatementResult |
| 13: | { |
| 14: | |
| 15: | public function __construct( |
| 16: | private Stmt $statement, |
| 17: | private StatementResult $result, |
| 18: | ) |
| 19: | { |
| 20: | } |
| 21: | |
| 22: | public function getStatement(): Stmt |
| 23: | { |
| 24: | return $this->statement; |
| 25: | } |
| 26: | |
| 27: | public function getResult(): StatementResult |
| 28: | { |
| 29: | return $this->result; |
| 30: | } |
| 31: | |
| 32: | } |
| 33: | |