fix type hint for salt in PasswordEncoderInterface
This commit is contained in:
parent
1bb0aeb97f
commit
0e741f9600
@ -49,7 +49,7 @@ abstract class BasePasswordEncoder implements PasswordEncoderInterface
|
|||||||
* Merges a password and a salt.
|
* Merges a password and a salt.
|
||||||
*
|
*
|
||||||
* @param string $password The password to be used
|
* @param string $password The password to be used
|
||||||
* @param string $salt The salt to be used
|
* @param string|null $salt The salt to be used
|
||||||
*
|
*
|
||||||
* @return string a merged password and salt
|
* @return string a merged password and salt
|
||||||
*
|
*
|
||||||
|
@ -24,7 +24,7 @@ interface PasswordEncoderInterface
|
|||||||
* Encodes the raw password.
|
* Encodes the raw password.
|
||||||
*
|
*
|
||||||
* @param string $raw The password to encode
|
* @param string $raw The password to encode
|
||||||
* @param string $salt The salt
|
* @param string|null $salt The salt
|
||||||
*
|
*
|
||||||
* @return string The encoded password
|
* @return string The encoded password
|
||||||
*
|
*
|
||||||
@ -38,7 +38,7 @@ interface PasswordEncoderInterface
|
|||||||
*
|
*
|
||||||
* @param string $encoded An encoded password
|
* @param string $encoded An encoded password
|
||||||
* @param string $raw A raw password
|
* @param string $raw A raw password
|
||||||
* @param string $salt The salt
|
* @param string|null $salt The salt
|
||||||
*
|
*
|
||||||
* @return bool true if the password is valid, false otherwise
|
* @return bool true if the password is valid, false otherwise
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user