| 1: | <?php declare(strict_types = 1); |
| 2: | |
| 3: | namespace PHPStan\PhpDoc\Tag; |
| 4: | |
| 5: | use PHPStan\Type\Type; |
| 6: | |
| 7: | |
| 8: | class ThrowsTag |
| 9: | { |
| 10: | |
| 11: | public function __construct(private Type $type) |
| 12: | { |
| 13: | } |
| 14: | |
| 15: | public function getType(): Type |
| 16: | { |
| 17: | return $this->type; |
| 18: | } |
| 19: | |
| 20: | } |
| 21: | |