@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | |
32 | 32 | /** |
33 | 33 | * Lists all News 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 News 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 News 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 | { |
@@ -2,8 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace zacksleo\yii2\cms\models; |
4 | 4 | |
5 | -use Yii; |
|
6 | - |
|
7 | 5 | /** |
8 | 6 | * This is the model class for table "{{%district}}". |
9 | 7 | * |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace zacksleo\yii2\cms\models; |
4 | 4 | |
5 | -use Yii; |
|
6 | 5 | use zacksleo\yii2\cms\Module; |
7 | 6 | use yii\behaviors\TimestampBehavior; |
8 | 7 |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace zacksleo\yii2\cms\models; |
4 | 4 | |
5 | -use Yii; |
|
6 | 5 | use zacksleo\yii2\cms\Module; |
7 | 6 | |
8 | 7 | /** |