1: | <?php declare(strict_types = 1); |
2: | |
3: | namespace PHPStan\Reflection; |
4: | |
5: | use PHPStan\Type\Generic\TemplateTypeVarianceMap; |
6: | use PHPStan\Type\Type; |
7: | |
8: | /** @api */ |
9: | interface ParametersAcceptorWithPhpDocs extends ParametersAcceptor |
10: | { |
11: | |
12: | /** |
13: | * @return array<int, ParameterReflectionWithPhpDocs> |
14: | */ |
15: | public function getParameters(): array; |
16: | |
17: | public function getPhpDocReturnType(): Type; |
18: | |
19: | public function getNativeReturnType(): Type; |
20: | |
21: | public function getCallSiteVarianceMap(): TemplateTypeVarianceMap; |
22: | |
23: | } |
24: |