@param, @var, @property and @return must declare types as boolean, integer, string, array or null
This commit is contained in:
parent
be3c8c5e80
commit
d78c7a7d21
@ -76,7 +76,7 @@ class User extends \yii\base\Object implements \yii\web\IdentityInterface
|
||||
* Validates password
|
||||
*
|
||||
* @param string $password password to validate
|
||||
* @return bool if password provided is valid for current user
|
||||
* @return boolean if password provided is valid for current user
|
||||
*/
|
||||
public function validatePassword($password)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user