Total Complexity | 5 |
Total Lines | 48 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | abstract class AbstractFailure implements FailureInterface |
||
18 | { |
||
19 | /** |
||
20 | * @var FailureMessages |
||
21 | */ |
||
22 | private $failureMessages; |
||
23 | |||
24 | /** |
||
25 | * AbstractFailure constructor. |
||
26 | * |
||
27 | * @param FailureMessages $failureMessages |
||
28 | */ |
||
29 | public function __construct( |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * @param Response $verifyReCaptcha |
||
37 | * |
||
38 | * @return array |
||
39 | */ |
||
40 | public function getMessages(Response $verifyReCaptcha): array |
||
55 | } |
||
56 | |||
57 | /** |
||
58 | * @param Response $verifyReCaptcha |
||
59 | * |
||
60 | * @return string |
||
61 | */ |
||
62 | public function getMessagesString(Response $verifyReCaptcha): string |
||
67 |