| Total Complexity | 4 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | class Threshold implements ValidatorInterface |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * Score threshold not met |
||
| 22 | * |
||
| 23 | * @const string |
||
| 24 | */ |
||
| 25 | const E_SCORE_THRESHOLD_NOT_MET = 'score-threshold-not-met'; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param VerifyReCaptcha $verify |
||
| 29 | * @param Response $response |
||
| 30 | * |
||
| 31 | * @return string|null |
||
| 32 | */ |
||
| 33 | public function validate(VerifyReCaptcha $verify, Response $response): ?string |
||
| 46 |