Completed
Push — master ( 1ec856...f5277c )
by zacksleo
04:26
created
src/controllers/ItemController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/controllers/LinksController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/controllers/MenuController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/controllers/PageController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/controllers/PostController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/migrations/m170211_135845_create_item_category_table.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,5 @@
 block discarded – undo
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()
Please login to merge, or discard this patch.
src/models/Item.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/models/ItemField.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/models/Page.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.