| Total Complexity | 5 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 69.23% |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 8 | class DomainNameValidator extends ConstraintValidator |
||
| 9 | { |
||
| 10 | |||
| 11 | /** |
||
| 12 | * Checks if the passed value is valid. |
||
| 13 | * |
||
| 14 | * @param string $domainName |
||
| 15 | * @param Constraint $constraint The constraint for the validation |
||
| 16 | * @SuppressWarnings(PHPMD.UnusedFormalParameter) |
||
| 17 | */ |
||
| 18 | 10 | public function validate($domainName, Constraint $constraint): void |
|
| 34 |