@@ -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 | /** |
@@ -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 |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace inblank\activeuser\components; |
4 | 4 | |
5 | 5 | use inblank\activeuser\traits\CommonTrait; |
6 | -use yii; |
|
7 | 6 | use yii\filters\AccessControl; |
8 | 7 | use yii\filters\VerbFilter; |
9 | 8 | use yii\web\Controller; |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | |
34 | 34 | /** |
35 | 35 | * Lists all User models. |
36 | - * @return mixed |
|
36 | + * @return string |
|
37 | 37 | */ |
38 | 38 | public function actionIndex() |
39 | 39 | { |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | /** |
50 | 50 | * Displays a single User model. |
51 | 51 | * @param integer $id |
52 | - * @return mixed |
|
52 | + * @return string |
|
53 | 53 | */ |
54 | 54 | public function actionView($id) |
55 | 55 | { |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | * Deletes an existing User model. |
100 | 100 | * If deletion is successful, the browser will be redirected to the 'index' page. |
101 | 101 | * @param integer $id |
102 | - * @return mixed |
|
102 | + * @return \yii\web\Response |
|
103 | 103 | */ |
104 | 104 | public function actionDelete($id) |
105 | 105 | { |
@@ -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 | { |