Total Complexity | 4 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | class TargetValidator extends AbstractValidator |
||
12 | { |
||
13 | use ValidationTrait; |
||
14 | |||
15 | /** |
||
16 | * @param LocaleService $localeService |
||
17 | */ |
||
18 | public function __construct(private LocaleService $localeService) |
||
19 | {} |
||
20 | |||
21 | /** |
||
22 | * @return array<string> |
||
23 | */ |
||
24 | protected function amountFields(): array |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * Validate settlement target data |
||
31 | * |
||
32 | * @param array $values |
||
33 | * |
||
34 | * @return array |
||
35 | */ |
||
36 | public function validateItem(array $values): array |
||
53 |