@@ -277,7 +277,7 @@ |
||
| 277 | 277 | * Deletes an existing User model. |
| 278 | 278 | * If deletion is successful, the browser will be redirected to the 'index' page. |
| 279 | 279 | * @param integer $id |
| 280 | - * @return mixed |
|
| 280 | + * @return \yii\web\Response |
|
| 281 | 281 | */ |
| 282 | 282 | public function actionDelete($id) |
| 283 | 283 | { |
@@ -128,7 +128,7 @@ discard block |
||
| 128 | 128 | } |
| 129 | 129 | |
| 130 | 130 | /** |
| 131 | - * @return array List of all possible statuses for User instance |
|
| 131 | + * @return string[] List of all possible statuses for User instance |
|
| 132 | 132 | */ |
| 133 | 133 | public static function getStatuses() |
| 134 | 134 | { |
@@ -251,7 +251,7 @@ discard block |
||
| 251 | 251 | } |
| 252 | 252 | |
| 253 | 253 | /** |
| 254 | - * @return int|string current user ID |
|
| 254 | + * @return integer current user ID |
|
| 255 | 255 | */ |
| 256 | 256 | public function getId() |
| 257 | 257 | { |
@@ -385,7 +385,7 @@ discard block |
||
| 385 | 385 | } |
| 386 | 386 | |
| 387 | 387 | /** |
| 388 | - * @return mixed|string Display name for the user visual identification |
|
| 388 | + * @return string Display name for the user visual identification |
|
| 389 | 389 | */ |
| 390 | 390 | public function getDisplayName() |
| 391 | 391 | { |
@@ -31,6 +31,9 @@ discard block |
||
| 31 | 31 | */ |
| 32 | 32 | private $arrayMode = false; |
| 33 | 33 | |
| 34 | + /** |
|
| 35 | + * @param ActiveRecord $ownerModel |
|
| 36 | + */ |
|
| 34 | 37 | public function __construct($config = [], $ownerModel = null) |
| 35 | 38 | { |
| 36 | 39 | parent::__construct($config); |
@@ -52,7 +55,7 @@ discard block |
||
| 52 | 55 | } |
| 53 | 56 | |
| 54 | 57 | /** |
| 55 | - * @param $name |
|
| 58 | + * @param string $name |
|
| 56 | 59 | */ |
| 57 | 60 | public function setFormName($name) |
| 58 | 61 | { |
@@ -193,6 +193,9 @@ |
||
| 193 | 193 | return $result; |
| 194 | 194 | } |
| 195 | 195 | |
| 196 | + /** |
|
| 197 | + * @param string $className |
|
| 198 | + */ |
|
| 196 | 199 | private function invalidateTags($className, $ids) |
| 197 | 200 | { |
| 198 | 201 | $tags = [ |
@@ -277,7 +277,7 @@ |
||
| 277 | 277 | * Deletes an existing User model. |
| 278 | 278 | * If deletion is successful, the browser will be redirected to the 'index' page. |
| 279 | 279 | * @param integer $id |
| 280 | - * @return mixed |
|
| 280 | + * @return \yii\web\Response |
|
| 281 | 281 | */ |
| 282 | 282 | public function actionDelete($id) |
| 283 | 283 | { |
@@ -277,7 +277,7 @@ |
||
| 277 | 277 | * Deletes an existing User model. |
| 278 | 278 | * If deletion is successful, the browser will be redirected to the 'index' page. |
| 279 | 279 | * @param integer $id |
| 280 | - * @return mixed |
|
| 280 | + * @return \yii\web\Response |
|
| 281 | 281 | */ |
| 282 | 282 | public function actionDelete($id) |
| 283 | 283 | { |
@@ -277,7 +277,7 @@ |
||
| 277 | 277 | * Deletes an existing User model. |
| 278 | 278 | * If deletion is successful, the browser will be redirected to the 'index' page. |
| 279 | 279 | * @param integer $id |
| 280 | - * @return mixed |
|
| 280 | + * @return \yii\web\Response |
|
| 281 | 281 | */ |
| 282 | 282 | public function actionDelete($id) |
| 283 | 283 | { |
@@ -277,7 +277,7 @@ |
||
| 277 | 277 | * Deletes an existing User model. |
| 278 | 278 | * If deletion is successful, the browser will be redirected to the 'index' page. |
| 279 | 279 | * @param integer $id |
| 280 | - * @return mixed |
|
| 280 | + * @return \yii\web\Response |
|
| 281 | 281 | */ |
| 282 | 282 | public function actionDelete($id) |
| 283 | 283 | { |
@@ -277,7 +277,7 @@ |
||
| 277 | 277 | * Deletes an existing User model. |
| 278 | 278 | * If deletion is successful, the browser will be redirected to the 'index' page. |
| 279 | 279 | * @param integer $id |
| 280 | - * @return mixed |
|
| 280 | + * @return \yii\web\Response |
|
| 281 | 281 | */ |
| 282 | 282 | public function actionDelete($id) |
| 283 | 283 | { |