Total Complexity | 2 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | class OldPasswordService |
||
22 | { |
||
23 | /** |
||
24 | * Returns if the given $passwordToCheck is equals the old password by using the given current password hash |
||
25 | * |
||
26 | * @param string $passwordToCheck |
||
27 | * @param string $oldPasswordHash |
||
28 | * @return bool |
||
29 | * @throws MissingPasswordHashServiceException |
||
30 | */ |
||
31 | public function checkEqualsOldPassword(string $passwordToCheck, string $oldPasswordHash): bool |
||
49 |