| Total Complexity | 3 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class TargetValidator extends AbstractValidator |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var LocaleService |
||
| 14 | */ |
||
| 15 | protected LocaleService $localeService; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param LocaleService $localeService |
||
| 19 | */ |
||
| 20 | public function __construct(LocaleService $localeService) |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Validate settlement target data |
||
| 27 | * |
||
| 28 | * @param array $values |
||
| 29 | * |
||
| 30 | * @return array |
||
| 31 | */ |
||
| 32 | public function validateItem(array $values): array |
||
| 49 |