We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 3 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class Label extends BaseAttribute implements SmartAttributeInterface |
||
| 9 | { |
||
| 10 | public static function getDefault(SmartCollectionInterface $attributes) |
||
| 11 | { |
||
| 12 | return ucfirst($attributes->getAttributeValue('name')); |
||
| 13 | } |
||
| 14 | |||
| 15 | public static function getValidationRules(SmartCollectionInterface $attributes): array |
||
| 18 | } |
||
| 19 | |||
| 20 | public static function getAttributeName(): string |
||
| 25 |