Total Complexity | 2 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 2 | ||
Bugs | 1 | Features | 1 |
1 | <?php |
||
10 | class GenericValidator extends AbstractValidator |
||
11 | { |
||
12 | /** |
||
13 | * @return bool |
||
14 | */ |
||
15 | protected function contraintNeedsValidation(): bool |
||
16 | { |
||
17 | return false; |
||
18 | } |
||
19 | |||
20 | /** |
||
21 | * @param $value |
||
22 | * @param ConstraintInterface $constraint |
||
23 | * |
||
24 | * @return mixed |
||
25 | */ |
||
26 | protected function doValidation() |
||
28 | } |
||
29 | } |
||
30 |