@@ -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) |
@@ -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 | { |
@@ -269,7 +269,7 @@ discard block |
||
| 269 | 269 | * Deletes an existing User model. |
| 270 | 270 | * If deletion is successful, the browser will be redirected to the 'index' page. |
| 271 | 271 | * @param integer $id |
| 272 | - * @return mixed |
|
| 272 | + * @return \yii\web\Response |
|
| 273 | 273 | */ |
| 274 | 274 | public function actionDelete($id) |
| 275 | 275 | { |
@@ -340,7 +340,7 @@ discard block |
||
| 340 | 340 | /** |
| 341 | 341 | * Logout action. |
| 342 | 342 | * |
| 343 | - * @return string |
|
| 343 | + * @return \yii\web\Response |
|
| 344 | 344 | */ |
| 345 | 345 | public function actionLogout() |
| 346 | 346 | { |
@@ -311,7 +311,7 @@ discard block |
||
| 311 | 311 | } |
| 312 | 312 | |
| 313 | 313 | /** |
| 314 | - * @return array |
|
| 314 | + * @return string[] |
|
| 315 | 315 | */ |
| 316 | 316 | public static function getStatusesArray() |
| 317 | 317 | { |
@@ -324,7 +324,7 @@ discard block |
||
| 324 | 324 | } |
| 325 | 325 | |
| 326 | 326 | /** |
| 327 | - * @return mixed |
|
| 327 | + * @return string |
|
| 328 | 328 | */ |
| 329 | 329 | public function getStatusName() |
| 330 | 330 | { |
@@ -342,7 +342,7 @@ discard block |
||
| 342 | 342 | } |
| 343 | 343 | |
| 344 | 344 | /** |
| 345 | - * @return array |
|
| 345 | + * @return string[] |
|
| 346 | 346 | */ |
| 347 | 347 | public static function getLabelsArray() |
| 348 | 348 | { |
@@ -384,7 +384,7 @@ discard block |
||
| 384 | 384 | |
| 385 | 385 | /** |
| 386 | 386 | * Returns an array of log types |
| 387 | - * @return array |
|
| 387 | + * @return string[] |
|
| 388 | 388 | */ |
| 389 | 389 | public static function getRegistrationTypesArray() |
| 390 | 390 | { |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | /** |
| 87 | 87 | * Signs user up. |
| 88 | 88 | * |
| 89 | - * @return mixed |
|
| 89 | + * @return string |
|
| 90 | 90 | */ |
| 91 | 91 | public function actionSignup() |
| 92 | 92 | { |
@@ -123,7 +123,7 @@ discard block |
||
| 123 | 123 | /** |
| 124 | 124 | * Requests password reset. |
| 125 | 125 | * |
| 126 | - * @return mixed |
|
| 126 | + * @return string |
|
| 127 | 127 | */ |
| 128 | 128 | public function actionRequestPasswordReset() |
| 129 | 129 | { |
@@ -145,7 +145,7 @@ discard block |
||
| 145 | 145 | * Resets password. |
| 146 | 146 | * |
| 147 | 147 | * @param string $token |
| 148 | - * @return mixed |
|
| 148 | + * @return string |
|
| 149 | 149 | * @throws BadRequestHttpException |
| 150 | 150 | */ |
| 151 | 151 | public function actionResetPassword($token) |