| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 5 | class InvalidCredentialsException extends AuthenticationException |
||
| 6 | { |
||
| 7 | // Voluntarily not more information |
||
| 8 | private string $userEmail; |
||
| 9 | |||
| 10 | // Invalid credentials asserted in LoginSubmitActionTest |
||
| 11 | 2 | public function __construct(string $email, string $message = 'Invalid credentials') |
|
| 12 | { |
||
| 13 | 2 | parent::__construct($message); |
|
| 14 | 2 | $this->userEmail = $email; |
|
| 15 | } |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @return string |
||
| 19 | */ |
||
| 20 | 2 | public function getUserEmail(): string |
|
| 23 | } |
||
| 24 | } |
||
| 25 |