| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | trait DeprecationTrait |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string|null |
||
| 9 | */ |
||
| 10 | protected $deprecationReason; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @return null|string |
||
| 14 | */ |
||
| 15 | public function getDeprecationReason(): ?string |
||
| 16 | { |
||
| 17 | return $this->deprecationReason; |
||
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @return bool |
||
| 22 | */ |
||
| 23 | public function isDeprecated(): bool |
||
| 26 | } |
||
| 27 | } |
||
| 28 |