@param, @var, @property and @return must declare types as boolean, integer, string, array or null

This commit is contained in:
Alexander Mohorev 2014-03-03 20:50:44 +03:00
parent be3c8c5e80
commit d78c7a7d21

View File

@ -76,7 +76,7 @@ class User extends \yii\base\Object implements \yii\web\IdentityInterface
* Validates password * Validates password
* *
* @param string $password password to validate * @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) public function validatePassword($password)
{ {