| 1: | <?php declare(strict_types = 1); |
| 2: | |
| 3: | namespace PHPStan\Node; |
| 4: | |
| 5: | use PhpParser\Node\Expr\Yield_; |
| 6: | use PhpParser\Node\Expr\YieldFrom; |
| 7: | use PHPStan\Analyser\StatementResult; |
| 8: | |
| 9: | |
| 10: | interface ReturnStatementsNode extends VirtualNode |
| 11: | { |
| 12: | |
| 13: | |
| 14: | |
| 15: | |
| 16: | public function getReturnStatements(): array; |
| 17: | |
| 18: | public function getStatementResult(): StatementResult; |
| 19: | |
| 20: | |
| 21: | |
| 22: | |
| 23: | public function getExecutionEnds(): array; |
| 24: | |
| 25: | public function returnsByRef(): bool; |
| 26: | |
| 27: | public function hasNativeReturnTypehint(): bool; |
| 28: | |
| 29: | |
| 30: | |
| 31: | |
| 32: | public function getYieldStatements(): array; |
| 33: | |
| 34: | public function isGenerator(): bool; |
| 35: | |
| 36: | } |
| 37: | |