1: <?php declare(strict_types = 1);
2:
3: namespace PHPStan\Reflection;
4:
5: use PHPStan\Type\Generic\TemplateTypeMap;
6: use PHPStan\Type\MixedType;
7: use PHPStan\Type\Type;
8:
9: /** @api */
10: class TrivialParametersAcceptor implements ParametersAcceptorWithPhpDocs
11: {
12:
13: /** @api */
14: public function __construct()
15: {
16: }
17:
18: public function getTemplateTypeMap(): TemplateTypeMap
19: {
20: return TemplateTypeMap::createEmpty();
21: }
22:
23: public function getResolvedTemplateTypeMap(): TemplateTypeMap
24: {
25: return TemplateTypeMap::createEmpty();
26: }
27:
28: public function getParameters(): array
29: {
30: return [];
31: }
32:
33: public function isVariadic(): bool
34: {
35: return true;
36: }
37:
38: public function getReturnType(): Type
39: {
40: return new MixedType();
41: }
42:
43: public function getPhpDocReturnType(): Type
44: {
45: return new MixedType();
46: }
47:
48: public function getNativeReturnType(): Type
49: {
50: return new MixedType();
51: }
52:
53: }
54: