Total Complexity | 5 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class RemitmentValidator extends AbstractValidator |
||
12 | { |
||
13 | use ValidationTrait; |
||
14 | |||
15 | /** |
||
16 | * @param LocaleService $localeService |
||
17 | */ |
||
18 | public function __construct(protected LocaleService $localeService) |
||
19 | {} |
||
20 | |||
21 | /** |
||
22 | * @return array<string> |
||
23 | */ |
||
24 | protected function amountFields(): array |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * @param array $values |
||
31 | * |
||
32 | * @return array |
||
33 | */ |
||
34 | public function validateItem(array $values): array |
||
49 | } |
||
50 | } |
||
51 |