| 1: | <?php declare(strict_types = 1); |
| 2: | |
| 3: | namespace PHPStan\PhpDoc\Tag; |
| 4: | |
| 5: | /** |
| 6: | * @api |
| 7: | * @final |
| 8: | */ |
| 9: | class DeprecatedTag |
| 10: | { |
| 11: | |
| 12: | public function __construct(private ?string $message) |
| 13: | { |
| 14: | } |
| 15: | |
| 16: | public function getMessage(): ?string |
| 17: | { |
| 18: | return $this->message; |
| 19: | } |
| 20: | |
| 21: | } |
| 22: |