correction phpstan
Some checks reported warnings
Cadoles/hydra-sql/pipeline/pr-develop This commit is unstable
Some checks reported warnings
Cadoles/hydra-sql/pipeline/pr-develop This commit is unstable
This commit is contained in:
@ -54,7 +54,7 @@ class PasswordEncoder implements LegacyPasswordHasherInterface
|
||||
return true;
|
||||
}
|
||||
|
||||
foreach(hash_algos() as $algo) {
|
||||
foreach (hash_algos() as $algo) {
|
||||
if (hash_equals($hashedPassword, hash($algo, $completedPassword))) {
|
||||
return true;
|
||||
}
|
||||
@ -76,9 +76,6 @@ class PasswordEncoder implements LegacyPasswordHasherInterface
|
||||
/**
|
||||
* Retourne la string à hasher en fonction du pattern indiqué
|
||||
*
|
||||
* @param mixed $plainTextPassword
|
||||
* @param mixed $salt
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected function getPasswordToHash($plainTextPassword, $salt)
|
||||
|
Reference in New Issue
Block a user