@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | |
47 | 47 | /** |
48 | 48 | * Lists all Item models. |
49 | - * @return mixed |
|
49 | + * @return string |
|
50 | 50 | */ |
51 | 51 | public function actionIndex() |
52 | 52 | { |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | /** |
63 | 63 | * Displays a single Item model. |
64 | 64 | * @param integer $id |
65 | - * @return mixed |
|
65 | + * @return string |
|
66 | 66 | */ |
67 | 67 | public function actionView($id) |
68 | 68 | { |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | * Deletes an existing Item model. |
113 | 113 | * If deletion is successful, the browser will be redirected to the 'index' page. |
114 | 114 | * @param integer $id |
115 | - * @return mixed |
|
115 | + * @return \yii\web\Response |
|
116 | 116 | */ |
117 | 117 | public function actionDelete($id) |
118 | 118 | { |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | |
32 | 32 | /** |
33 | 33 | * Lists all links 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 links 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 links 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 Menu 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 Menu 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 Menu 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 | { |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | |
47 | 47 | /** |
48 | 48 | * Lists all Page models. |
49 | - * @return mixed |
|
49 | + * @return string |
|
50 | 50 | */ |
51 | 51 | public function actionIndex() |
52 | 52 | { |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | /** |
63 | 63 | * Displays a single Page model. |
64 | 64 | * @param integer $id |
65 | - * @return mixed |
|
65 | + * @return string |
|
66 | 66 | */ |
67 | 67 | public function actionView($id) |
68 | 68 | { |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | * Deletes an existing Page model. |
113 | 113 | * If deletion is successful, the browser will be redirected to the 'index' page. |
114 | 114 | * @param integer $id |
115 | - * @return mixed |
|
115 | + * @return \yii\web\Response |
|
116 | 116 | */ |
117 | 117 | public function actionDelete($id) |
118 | 118 | { |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | |
52 | 52 | /** |
53 | 53 | * Lists all Post models. |
54 | - * @return mixed |
|
54 | + * @return string |
|
55 | 55 | */ |
56 | 56 | public function actionIndex() |
57 | 57 | { |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | /** |
79 | 79 | * Displays a single Post model. |
80 | 80 | * @param integer $id |
81 | - * @return mixed |
|
81 | + * @return string |
|
82 | 82 | */ |
83 | 83 | public function actionView($id) |
84 | 84 | { |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | * Deletes an existing Post model. |
129 | 129 | * If deletion is successful, the browser will be redirected to the 'index' page. |
130 | 130 | * @param integer $id |
131 | - * @return mixed |
|
131 | + * @return \yii\web\Response |
|
132 | 132 | */ |
133 | 133 | public function actionDelete($id) |
134 | 134 | { |
@@ -1,7 +1,5 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -use yii\db\Schema; |
|
4 | - |
|
5 | 3 | class m170211_135845_create_item_category_table extends \yii\db\Migration |
6 | 4 | { |
7 | 5 | public function up() |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace zacksleo\yii2\cms\models; |
4 | 4 | |
5 | 5 | use nemmo\attachments\models\File; |
6 | -use Yii; |
|
7 | 6 | use yii\behaviors\TimestampBehavior; |
8 | 7 | use yii\helpers\Url; |
9 | 8 | use zacksleo\yii2\cms\models\queries\ItemQuery; |
@@ -1,7 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace zacksleo\yii2\cms\models; |
3 | 3 | |
4 | -use Yii; |
|
5 | 4 | use yii\db\ActiveRecord; |
6 | 5 | use yii\helpers\ArrayHelper; |
7 | 6 | use yii\helpers\Json; |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace zacksleo\yii2\cms\models; |
4 | 4 | |
5 | -use Yii; |
|
6 | 5 | use yii\behaviors\TimestampBehavior; |
7 | 6 | use yii\helpers\Url; |
8 | 7 | use nemmo\attachments\models\File; |