Total Complexity | 4 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | class Host implements ValidatorInterface |
||
19 | { |
||
20 | /** |
||
21 | * Expected hostname did not match |
||
22 | * |
||
23 | * @const string |
||
24 | */ |
||
25 | const E_HOSTNAME_MISMATCH = 'hostname-mismatch'; |
||
26 | |||
27 | /** |
||
28 | * Verify hostname |
||
29 | * |
||
30 | * @param VerifyReCaptcha $verify |
||
31 | * @param Response $response |
||
32 | * |
||
33 | * @return string |
||
34 | */ |
||
35 | public function validate(VerifyReCaptcha $verify, Response $response): ?string |
||
48 |