@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace inblank\activeuser\models\forms; |
4 | 4 | |
5 | 5 | use inblank\activeuser\traits\CommonTrait; |
6 | -use yii; |
|
7 | 6 | use yii\base\Model; |
8 | 7 | use yii\base\Security; |
9 | 8 |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace inblank\activeuser\traits; |
4 | 4 | |
5 | 5 | use inblank\activeuser\Module; |
6 | -use yii; |
|
7 | 6 | use yii\base\InvalidConfigException; |
8 | 7 | |
9 | 8 | /** |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | /** |
86 | 86 | * Finds an identity by the given ID. |
87 | 87 | * @param string|integer $id the ID to be looked for |
88 | - * @return IdentityInterface the identity object that matches the given ID. |
|
88 | + * @return User|null the identity object that matches the given ID. |
|
89 | 89 | * Null should be returned if such an identity cannot be found |
90 | 90 | * or the identity is not in an active state (disabled, deleted, etc.) |
91 | 91 | */ |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | * @param mixed $token the token to be looked for |
110 | 110 | * @param mixed $type the type of the token. The value of this parameter depends on the implementation. |
111 | 111 | * For example, [[\yii\filters\auth\HttpBearerAuth]] will set this parameter to be `yii\filters\auth\HttpBearerAuth`. |
112 | - * @return IdentityInterface the identity object that matches the given token. |
|
112 | + * @return null|User the identity object that matches the given token. |
|
113 | 113 | * Null should be returned if such an identity cannot be found |
114 | 114 | * or the identity is not in an active state (disabled, deleted, etc.) |
115 | 115 | */ |
@@ -607,7 +607,7 @@ discard block |
||
607 | 607 | |
608 | 608 | /** |
609 | 609 | * Get status list as array |
610 | - * @return array |
|
610 | + * @return string[] |
|
611 | 611 | */ |
612 | 612 | static public function statusesList() |
613 | 613 | { |
@@ -635,7 +635,7 @@ discard block |
||
635 | 635 | |
636 | 636 | /** |
637 | 637 | * Get gender list as array |
638 | - * @return array |
|
638 | + * @return string[] |
|
639 | 639 | */ |
640 | 640 | static public function gendersList() |
641 | 641 | { |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use inblank\activeuser\models\User; |
6 | 6 | use inblank\activeuser\traits\CommonTrait; |
7 | -use yii; |
|
8 | 7 | use yii\base\Model; |
9 | 8 | use yii\base\Security; |
10 | 9 |