Total Complexity | 2 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | class AuthenticationExceptionFailure extends AbstractFailure |
||
20 | { |
||
21 | /** |
||
22 | * @var General |
||
23 | */ |
||
24 | private $config; |
||
25 | |||
26 | /** |
||
27 | * AuthenticationExceptionFailure constructor. |
||
28 | * |
||
29 | * @param FailureMessages $failureMessages |
||
30 | * @param General $config |
||
31 | */ |
||
32 | public function __construct( |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * Handle captcha failure |
||
43 | * |
||
44 | * @param Response $verifyReCaptcha |
||
45 | * @param ResponseInterface $response |
||
46 | * |
||
47 | * @return void |
||
48 | * @throws AuthenticationException |
||
49 | * @SuppressWarnings(PHPMD.UnusedFormalParameter) |
||
50 | */ |
||
51 | public function execute(Response $verifyReCaptcha, ResponseInterface $response = null) |
||
56 |