@@ -29,7 +29,7 @@ |
||
29 | 29 | /** |
30 | 30 | * @param \yii\web\Request $request |
31 | 31 | * @param \yii\base\Action $action |
32 | - * @return array |
|
32 | + * @return integer[] |
|
33 | 33 | */ |
34 | 34 | public function getRateLimit($request, $action) |
35 | 35 | { |
@@ -71,7 +71,7 @@ |
||
71 | 71 | } |
72 | 72 | |
73 | 73 | /** |
74 | - * @param null $user_id |
|
74 | + * @param integer $user_id |
|
75 | 75 | * @return mixed|null |
76 | 76 | */ |
77 | 77 | public function getUserRoleValue($user_id = null) |
@@ -150,7 +150,7 @@ |
||
150 | 150 | /** |
151 | 151 | * Deletes an existing User model. |
152 | 152 | * If deletion is successful, the browser will be redirected to the 'index' page. |
153 | - * @return mixed |
|
153 | + * @return \yii\web\Response |
|
154 | 154 | */ |
155 | 155 | public function actionDelete() |
156 | 156 | { |
@@ -150,7 +150,7 @@ discard block |
||
150 | 150 | /** |
151 | 151 | * Deletes an existing User model. |
152 | 152 | * This delete set status blocked, is successful, logout and the browser will be redirected to the 'home' page. |
153 | - * @return mixed |
|
153 | + * @return Response |
|
154 | 154 | */ |
155 | 155 | public function actionDelete() |
156 | 156 | { |
@@ -186,7 +186,7 @@ discard block |
||
186 | 186 | /** |
187 | 187 | * Logs out the current user. |
188 | 188 | * |
189 | - * @return mixed |
|
189 | + * @return Response |
|
190 | 190 | */ |
191 | 191 | public function actionLogout() |
192 | 192 | { |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | } |
40 | 40 | |
41 | 41 | /** |
42 | - * @param null $id |
|
42 | + * @param integer $id |
|
43 | 43 | * @return bool|string |
44 | 44 | */ |
45 | 45 | public function upload($id = null) |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | |
95 | 95 | /** |
96 | 96 | * @param $user_id |
97 | - * @return mixed |
|
97 | + * @return string |
|
98 | 98 | */ |
99 | 99 | public function getUserDirectory($user_id) |
100 | 100 | { |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | } |
133 | 133 | |
134 | 134 | /** |
135 | - * @return array |
|
135 | + * @return string[] |
|
136 | 136 | */ |
137 | 137 | public static function getStatusesArray() |
138 | 138 | { |
@@ -158,7 +158,7 @@ discard block |
||
158 | 158 | } |
159 | 159 | |
160 | 160 | /** |
161 | - * @return array |
|
161 | + * @return string[] |
|
162 | 162 | */ |
163 | 163 | public static function getLabelsArray() |
164 | 164 | { |
@@ -171,7 +171,7 @@ discard block |
||
171 | 171 | } |
172 | 172 | |
173 | 173 | /** |
174 | - * @return mixed |
|
174 | + * @return string |
|
175 | 175 | */ |
176 | 176 | public function getStatusName() |
177 | 177 | { |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | |
76 | 76 | /** |
77 | 77 | * Lists all User models. |
78 | - * @return mixed |
|
78 | + * @return string |
|
79 | 79 | */ |
80 | 80 | public function actionIndex() |
81 | 81 | { |
@@ -260,7 +260,7 @@ discard block |
||
260 | 260 | |
261 | 261 | /** |
262 | 262 | * Remove Avatar |
263 | - * @param $model \modules\users\models\backend\User |
|
263 | + * @param User $model \modules\users\models\backend\User |
|
264 | 264 | * @param string $oldAvatar |
265 | 265 | * @return null |
266 | 266 | */ |
@@ -280,7 +280,7 @@ discard block |
||
280 | 280 | * Deletes an existing User model. |
281 | 281 | * If deletion is successful, the browser will be redirected to the 'index' page. |
282 | 282 | * @param integer $id |
283 | - * @return mixed |
|
283 | + * @return \yii\web\Response |
|
284 | 284 | */ |
285 | 285 | public function actionDelete($id) |
286 | 286 | { |
@@ -351,7 +351,7 @@ discard block |
||
351 | 351 | /** |
352 | 352 | * Logout action. |
353 | 353 | * |
354 | - * @return string |
|
354 | + * @return \yii\web\Response |
|
355 | 355 | */ |
356 | 356 | public function actionLogout() |
357 | 357 | { |