Passed
Branch master (be24eb)
by Agiel Kurniawan
11:45
created
backend/controllers/MediaCommentController.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      * If there is media, the action will generate list of all MediaComment models based on Media ID.
56 56
      *
57 57
      * @param null|integer $media Media ID
58
-     * @return mixed
58
+     * @return string
59 59
      */
60 60
     public function actionIndex($media = null)
61 61
     {
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
      * If deletion is successful, the browser will be redirected to the 'index' page.
105 105
      *
106 106
      * @param integer $id
107
-     * @return mixed
107
+     * @return \yii\web\Response
108 108
      */
109 109
     public function actionDelete($id)
110 110
     {
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link http://www.writesdown.com/
4
- * @copyright Copyright (c) 2015 WritesDown
5
- * @license http://www.writesdown.com/license/
6
- */
3
+     * @link http://www.writesdown.com/
4
+     * @copyright Copyright (c) 2015 WritesDown
5
+     * @license http://www.writesdown.com/license/
6
+     */
7 7
 
8 8
 namespace backend\controllers;
9 9
 
Please login to merge, or discard this patch.
backend/controllers/MediaController.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
     /**
69 69
      * Lists all Media models.
70 70
      *
71
-     * @return mixed
71
+     * @return string
72 72
      */
73 73
     public function actionIndex()
74 74
     {
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
      * Creates a new Media model.
87 87
      * If creation is successful, the browser will display thumbnail and options to the 'create' page.
88 88
      *
89
-     * @return mixed
89
+     * @return string
90 90
      */
91 91
     public function actionCreate()
92 92
     {
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
      * If deletion is successful, the browser will be redirected to the 'index' page.
129 129
      *
130 130
      * @param integer $id
131
-     * @return mixed
131
+     * @return \yii\web\Response
132 132
      * @throws ForbiddenHttpException
133 133
      * @throws NotFoundHttpException
134 134
      */
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link http://www.writesdown.com/
4
- * @copyright Copyright (c) 2015 WritesDown
5
- * @license http://www.writesdown.com/license/
6
- */
3
+     * @link http://www.writesdown.com/
4
+     * @copyright Copyright (c) 2015 WritesDown
5
+     * @license http://www.writesdown.com/license/
6
+     */
7 7
 
8 8
 namespace backend\controllers;
9 9
 
Please login to merge, or discard this patch.
backend/controllers/MenuController.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      * Displays menu page consists of CRUD for Menu and MenuItem model.
62 62
      *
63 63
      * @param null $id
64
-     * @return mixed
64
+     * @return string
65 65
      */
66 66
     public function actionIndex($id = null)
67 67
     {
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
      * Creates a new Menu model.
91 91
      * If creation is successful, the browser will be redirected to the 'index' page.
92 92
      *
93
-     * @return mixed
93
+     * @return \yii\web\Response
94 94
      */
95 95
     public function actionCreate()
96 96
     {
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
      * If update is successful, the browser will be redirected to the 'view' page.
109 109
      *
110 110
      * @param integer $id
111
-     * @return mixed
111
+     * @return \yii\web\Response
112 112
      */
113 113
     public function actionUpdate($id)
114 114
     {
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
      * Deletes an existing Menu model.
130 130
      * If deletion is successful, the browser will be redirected to the 'index' page.
131 131
      *
132
-     * @return mixed
132
+     * @return \yii\web\Response
133 133
      * @throws NotFoundHttpException
134 134
      * @throws \Exception
135 135
      */
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link http://www.writesdown.com/
4
- * @copyright Copyright (c) 2015 WritesDown
5
- * @license http://www.writesdown.com/license/
6
- */
3
+     * @link http://www.writesdown.com/
4
+     * @copyright Copyright (c) 2015 WritesDown
5
+     * @license http://www.writesdown.com/license/
6
+     */
7 7
 
8 8
 namespace backend\controllers;
9 9
 
Please login to merge, or discard this patch.
backend/controllers/ModuleController.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
     /**
59 59
      * Lists all Module models.
60 60
      *
61
-     * @return mixed
61
+     * @return string
62 62
      */
63 63
     public function actionIndex()
64 64
     {
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
      * Displays a single Module model.
201 201
      *
202 202
      * @param integer $id
203
-     * @return mixed
203
+     * @return string
204 204
      */
205 205
     public function actionView($id)
206 206
     {
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
      * If deletion is successful, the browser will be redirected to the 'index' page.
215 215
      *
216 216
      * @param integer $id
217
-     * @return mixed
217
+     * @return \yii\web\Response
218 218
      */
219 219
     public function actionDelete($id)
220 220
     {
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link http://www.writesdown.com/
4
- * @copyright Copyright (c) 2015 WritesDown
5
- * @license http://www.writesdown.com/license/
6
- */
3
+     * @link http://www.writesdown.com/
4
+     * @copyright Copyright (c) 2015 WritesDown
5
+     * @license http://www.writesdown.com/license/
6
+     */
7 7
 
8 8
 namespace backend\controllers;
9 9
 
Please login to merge, or discard this patch.
backend/controllers/PostCommentController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
      * If deletion is successful, the browser will be redirected to the 'index' page.
112 112
      *
113 113
      * @param integer $id
114
-     * @return mixed
114
+     * @return \yii\web\Response
115 115
      */
116 116
     public function actionDelete($id)
117 117
     {
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link http://www.writesdown.com/
4
- * @copyright Copyright (c) 2015 WritesDown
5
- * @license http://www.writesdown.com/license/
6
- */
3
+     * @link http://www.writesdown.com/
4
+     * @copyright Copyright (c) 2015 WritesDown
5
+     * @license http://www.writesdown.com/license/
6
+     */
7 7
 
8 8
 namespace backend\controllers;
9 9
 
Please login to merge, or discard this patch.
backend/controllers/PostController.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      * @param null|string $user
65 65
      * @throws \yii\web\ForbiddenHttpException
66 66
      * @throws \yii\web\NotFoundHttpException
67
-     * @return mixed
67
+     * @return string
68 68
      */
69 69
     public function actionIndex($type, $user = null)
70 70
     {
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
      * @throws \Exception
180 180
      * @throws \yii\web\ForbiddenHttpException
181 181
      * @throws \yii\web\NotFoundHttpException
182
-     * @return mixed
182
+     * @return Response
183 183
      */
184 184
     public function actionDelete($id)
185 185
     {
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link http://www.writesdown.com/
4
- * @copyright Copyright (c) 2015 WritesDown
5
- * @license http://www.writesdown.com/license/
6
- */
3
+     * @link http://www.writesdown.com/
4
+     * @copyright Copyright (c) 2015 WritesDown
5
+     * @license http://www.writesdown.com/license/
6
+     */
7 7
 
8 8
 namespace backend\controllers;
9 9
 
Please login to merge, or discard this patch.
backend/controllers/PostTypeController.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     /**
57 57
      * Lists all PostType models.
58 58
      *
59
-     * @return mixed
59
+     * @return string
60 60
      */
61 61
     public function actionIndex()
62 62
     {
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      * Displays a single PostType model.
74 74
      *
75 75
      * @param integer $id
76
-     * @return mixed
76
+     * @return string
77 77
      */
78 78
     public function actionView($id)
79 79
     {
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
      * If deletion is successful, the browser will be redirected to the 'index' page.
158 158
      *
159 159
      * @param integer $id
160
-     * @return mixed
160
+     * @return \yii\web\Response
161 161
      */
162 162
     public function actionDelete($id)
163 163
     {
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link http://www.writesdown.com/
4
- * @copyright Copyright (c) 2015 WritesDown
5
- * @license http://www.writesdown.com/license/
6
- */
3
+     * @link http://www.writesdown.com/
4
+     * @copyright Copyright (c) 2015 WritesDown
5
+     * @license http://www.writesdown.com/license/
6
+     */
7 7
 
8 8
 namespace backend\controllers;
9 9
 
Please login to merge, or discard this patch.
backend/controllers/SettingController.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     /**
58 58
      * Lists all Option models.
59 59
      *
60
-     * @return mixed
60
+     * @return string
61 61
      */
62 62
     public function actionIndex()
63 63
     {
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      * Displays single Option model.
75 75
      *
76 76
      * @param integer $id
77
-     * @return mixed
77
+     * @return string
78 78
      */
79 79
     public function actionView($id)
80 80
     {
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
      * If deletion is successful, the browser will be redirected to the 'index' page.
128 128
      *
129 129
      * @param integer $id
130
-     * @return mixed
130
+     * @return \yii\web\Response
131 131
      */
132 132
     public function actionDelete($id)
133 133
     {
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
      * If the models are not found, a 404 HTTP exception will be thrown.
190 190
      *
191 191
      * @param string $id
192
-     * @return Option the loaded model
192
+     * @return string the loaded model
193 193
      * @throws NotFoundHttpException if the models cannot be found
194 194
      */
195 195
     protected function findModelByGroup($id)
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link http://www.writesdown.com/
4
- * @copyright Copyright (c) 2015 WritesDown
5
- * @license http://www.writesdown.com/license/
6
- */
3
+     * @link http://www.writesdown.com/
4
+     * @copyright Copyright (c) 2015 WritesDown
5
+     * @license http://www.writesdown.com/license/
6
+     */
7 7
 
8 8
 namespace backend\controllers;
9 9
 
Please login to merge, or discard this patch.
backend/controllers/TaxonomyController.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
     /**
64 64
      * Lists all Taxonomy models.
65 65
      *
66
-     * @return mixed
66
+     * @return string
67 67
      */
68 68
     public function actionIndex()
69 69
     {
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
      * If deletion is successful, the browser will be redirected to the 'index' page.
149 149
      *
150 150
      * @param integer $id
151
-     * @return mixed
151
+     * @return \yii\web\Response
152 152
      */
153 153
     public function actionDelete($id)
154 154
     {
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
      * @param integer $term
212 212
      * @throws \Exception
213 213
      * @throws \yii\web\NotFoundHttpException
214
-     * @return mixed
214
+     * @return \yii\web\Response
215 215
      */
216 216
     public function actionDeleteTerm($id, $term)
217 217
     {
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
      * If the model is not found, a 404 HTTP exception will be thrown.
258 258
      *
259 259
      * @param integer $id
260
-     * @return Term the loaded model
260
+     * @return integer the loaded model
261 261
      * @throws NotFoundHttpException if the model cannot be found
262 262
      */
263 263
     protected function findTerm($id)
Please login to merge, or discard this patch.
Indentation   +4 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link http://www.writesdown.com/
4
- * @copyright Copyright (c) 2015 WritesDown
5
- * @license http://www.writesdown.com/license/
6
- */
3
+     * @link http://www.writesdown.com/
4
+     * @copyright Copyright (c) 2015 WritesDown
5
+     * @license http://www.writesdown.com/license/
6
+     */
7 7
 
8 8
 namespace backend\controllers;
9 9
 
@@ -173,7 +173,6 @@  discard block
 block discarded – undo
173 173
 
174 174
     /**
175 175
      * Updates an existing Term on 'view taxonomy' page.
176
-
177 176
      *
178 177
 *@param $id
179 178
      * @param $term
@@ -205,7 +204,6 @@  discard block
 block discarded – undo
205 204
     /**
206 205
      * Delete an existing Term of a taxonomy on 'view taxonomy' page.
207 206
      * If deletion is successful, the browser will be redirected to the 'view taxonomy' page.
208
-
209 207
      *
210 208
 *@param integer $id
211 209
      * @param integer $term
Please login to merge, or discard this patch.