@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 d8971b252c
commit c7e8d8b900
25 changed files with 41 additions and 41 deletions

View File

@ -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)
{

View File

@ -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)
{