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