1: | <?php declare(strict_types = 1); |
2: | |
3: | namespace PHPStan\Node; |
4: | |
5: | use PHPStan\Analyser\StatementResult; |
6: | |
7: | /** @api */ |
8: | interface ReturnStatementsNode extends VirtualNode |
9: | { |
10: | |
11: | /** |
12: | * @return ReturnStatement[] |
13: | */ |
14: | public function getReturnStatements(): array; |
15: | |
16: | public function getStatementResult(): StatementResult; |
17: | |
18: | public function returnsByRef(): bool; |
19: | |
20: | } |
21: |