mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 21:41:19 +08:00
@param, @var, @property and @return must declare types as boolean, integer, string, array or null
This commit is contained in:
@ -132,7 +132,7 @@ class User extends ActiveRecord implements 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)
|
||||
{
|
||||
|
||||
@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user