@@ -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) |
@@ -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 | { |
@@ -25,8 +25,8 @@ |
||
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | /** |
| 28 | - * @param $email |
|
| 29 | - * @param $password |
|
| 28 | + * @param string $email |
|
| 29 | + * @param string $password |
|
| 30 | 30 | * @return array |
| 31 | 31 | */ |
| 32 | 32 | protected function formParams($email, $password) |
@@ -72,7 +72,7 @@ |
||
| 72 | 72 | /** |
| 73 | 73 | * Logs out the current user. |
| 74 | 74 | * |
| 75 | - * @return mixed |
|
| 75 | + * @return \yii\web\Response |
|
| 76 | 76 | */ |
| 77 | 77 | public function actionLogout() |
| 78 | 78 | { |
@@ -261,7 +261,7 @@ discard block |
||
| 261 | 261 | } |
| 262 | 262 | |
| 263 | 263 | /** |
| 264 | - * @param $email_confirm_token |
|
| 264 | + * @param string $email_confirm_token |
|
| 265 | 265 | * @return bool|null|static |
| 266 | 266 | */ |
| 267 | 267 | public static function findByEmailConfirmToken($email_confirm_token) |
@@ -317,7 +317,7 @@ discard block |
||
| 317 | 317 | } |
| 318 | 318 | |
| 319 | 319 | /** |
| 320 | - * @return array |
|
| 320 | + * @return string[] |
|
| 321 | 321 | */ |
| 322 | 322 | public static function getStatusesArray() |
| 323 | 323 | { |
@@ -330,7 +330,7 @@ discard block |
||
| 330 | 330 | } |
| 331 | 331 | |
| 332 | 332 | /** |
| 333 | - * @return mixed |
|
| 333 | + * @return string |
|
| 334 | 334 | */ |
| 335 | 335 | public function getStatusName() |
| 336 | 336 | { |
@@ -348,7 +348,7 @@ discard block |
||
| 348 | 348 | } |
| 349 | 349 | |
| 350 | 350 | /** |
| 351 | - * @return array |
|
| 351 | + * @return string[] |
|
| 352 | 352 | */ |
| 353 | 353 | public static function getLabelsArray() |
| 354 | 354 | { |
@@ -390,7 +390,7 @@ discard block |
||
| 390 | 390 | |
| 391 | 391 | /** |
| 392 | 392 | * Returns an array of log types |
| 393 | - * @return array |
|
| 393 | + * @return string[] |
|
| 394 | 394 | */ |
| 395 | 395 | public static function getRegistrationTypesArray() |
| 396 | 396 | { |