1 | <?php |
||
16 | class Captcha implements ValidatorInterface |
||
17 | { |
||
18 | /** |
||
19 | * validate the captcha |
||
20 | * |
||
21 | * @since 4.0.0 |
||
22 | * |
||
23 | * @param int $task task to be validated |
||
24 | * @param string $hash hashed solution |
||
25 | * |
||
26 | * @return bool |
||
27 | */ |
||
28 | |||
29 | 2 | public function validate(int $task = null, string $hash = null) : bool |
|
34 | } |
||
35 |