| @@ -3,18 +3,24 @@ | ||
| 3 | 3 | declare(strict_types=1); |
| 4 | 4 | |
| 5 | 5 | namespace UserAccessManager\Form; |
| 6 | 6 | |
| 7 | +/** | |
| 8 | + * Trait labelTrait | |
| 9 | + * | |
| 10 | + * @package UserAccessManager\Form | |
| 11 | + */ | |
| 7 | 12 | trait LabelTrait |
| 8 | 13 | { |
| 9 | - protected ?string $label; | |
| 14 | + /** | |
| 15 | + * @var string | |
| 16 | + */ | |
| 17 | + protected $label; | |
| 10 | 18 | |
| 19 | + /** | |
| 20 | + * @return null|string | |
| 21 | + */ | |
| 11 | 22 | public function getLabel(): ?string |
| 12 | 23 | { |
| 13 | 24 | return $this->label; |
| 14 | - } | |
| 15 | - | |
| 16 | - public function setLabel(string $label): void | |
| 17 | - { | |
| 18 | - $this->label = $label; | |
| 19 | 25 | } |
| 20 | 26 | } |