1: <?php declare(strict_types = 1);
2:
3: namespace PHPStan\PhpDoc\Tag;
4:
5: use PHPStan\Type\Type;
6:
7: /**
8: * @api
9: * @api-do-not-implement
10: */
11: interface TypedTag
12: {
13:
14: public function getType(): Type;
15:
16: /**
17: * @return static
18: */
19: public function withType(Type $type): self;
20:
21: }
22: