@@ -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 | { |
@@ -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 | { |