@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | |
| 32 | 32 | /** |
| 33 | 33 | * Lists all Ad models. |
| 34 | - * @return mixed |
|
| 34 | + * @return string |
|
| 35 | 35 | */ |
| 36 | 36 | public function actionIndex() |
| 37 | 37 | { |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | /** |
| 48 | 48 | * Displays a single Ad model. |
| 49 | 49 | * @param integer $id |
| 50 | - * @return mixed |
|
| 50 | + * @return string |
|
| 51 | 51 | */ |
| 52 | 52 | public function actionView($id) |
| 53 | 53 | { |
@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | * Deletes an existing Ad model. |
| 98 | 98 | * If deletion is successful, the browser will be redirected to the 'index' page. |
| 99 | 99 | * @param integer $id |
| 100 | - * @return mixed |
|
| 100 | + * @return \yii\web\Response |
|
| 101 | 101 | */ |
| 102 | 102 | public function actionDelete($id) |
| 103 | 103 | { |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | |
| 32 | 32 | /** |
| 33 | 33 | * Lists all AdPosition models. |
| 34 | - * @return mixed |
|
| 34 | + * @return string |
|
| 35 | 35 | */ |
| 36 | 36 | public function actionIndex() |
| 37 | 37 | { |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | /** |
| 48 | 48 | * Displays a single AdPosition model. |
| 49 | 49 | * @param integer $id |
| 50 | - * @return mixed |
|
| 50 | + * @return string |
|
| 51 | 51 | */ |
| 52 | 52 | public function actionView($id) |
| 53 | 53 | { |
@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | * Deletes an existing AdPosition model. |
| 98 | 98 | * If deletion is successful, the browser will be redirected to the 'index' page. |
| 99 | 99 | * @param integer $id |
| 100 | - * @return mixed |
|
| 100 | + * @return \yii\web\Response |
|
| 101 | 101 | */ |
| 102 | 102 | public function actionDelete($id) |
| 103 | 103 | { |
@@ -100,7 +100,7 @@ |
||
| 100 | 100 | |
| 101 | 101 | /** |
| 102 | 102 | * 状态列表 |
| 103 | - * @return array |
|
| 103 | + * @return string[] |
|
| 104 | 104 | */ |
| 105 | 105 | public static function getStatusList() |
| 106 | 106 | { |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace zacksleo\yii2\ad\models; |
| 4 | 4 | |
| 5 | -use Yii; |
|
| 6 | 5 | use yii\helpers\Url; |
| 7 | 6 | use zacksleo\yii2\ad\Module; |
| 8 | 7 | use zacksleo\yii2\gallery\behaviors\UploadImageBehavior; |