Completed
Push — master ( fb7a26...d5e2d7 )
by Agiel Kurniawan
04:29
created
frontend/controllers/MediaController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     /**
25 25
      * @param integer|null $id Media ID
26 26
      * @param string|null $slug Media slug
27
-     * @return mixed
27
+     * @return string
28 28
      * @throws \yii\web\NotFoundHttpException
29 29
      */
30 30
     public function actionView($id = null, $slug = null)
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
      * If the model is not found, a 404 HTTP exception will be thrown.
73 73
      *
74 74
      * @param integer $id Media ID
75
-     * @return Media the loaded model
75
+     * @return string the loaded model
76 76
      * @throws NotFoundHttpException if the model cannot be found
77 77
      */
78 78
     protected function findModel($id)
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      * If the model is not found, a 404 HTTP exception will be thrown.
90 90
      *
91 91
      * @param string $slug Media slug
92
-     * @return Media the loaded model
92
+     * @return string the loaded model
93 93
      * @throws NotFoundHttpException if the model cannot be found
94 94
      */
95 95
     protected function findModelBySlug($slug)
Please login to merge, or discard this patch.
frontend/controllers/PostController.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
      * @param null $slug Post slug
76 76
      * @param integer $id Post ID
77 77
      * @throws \yii\web\NotFoundHttpException
78
-     * @return mixed
78
+     * @return string
79 79
      */
80 80
     public function actionView($id = null, $slug = null)
81 81
     {
@@ -162,9 +162,9 @@  discard block
 block discarded – undo
162 162
      * Finds the Post model based on its primary key value.
163 163
      * If the model is not found, a 404 HTTP exception will be thrown.
164 164
      *
165
-     * @param $id
165
+     * @param integer $id
166 166
      * @throws \yii\web\NotFoundHttpException
167
-     * @return PostType the loaded model
167
+     * @return string the loaded model
168 168
      */
169 169
     protected function findPostType($id)
170 170
     {
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
      *
184 184
      * @param string $slug Post type slug
185 185
      * @throws \yii\web\NotFoundHttpException
186
-     * @return PostType the loaded model
186
+     * @return string the loaded model
187 187
      */
188 188
     protected function findPostTypeBySlug($slug)
189 189
     {
Please login to merge, or discard this patch.
frontend/controllers/TermController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      * @param integer $id Term ID
29 29
      * @param null $slug Term slug
30 30
      * @throws \yii\web\NotFoundHttpException
31
-     * @return mixed
31
+     * @return string
32 32
      */
33 33
     public function actionView($id = null, $slug = null)
34 34
     {
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
      * If the model is not found, a 404 HTTP exception will be thrown.
72 72
      *
73 73
      * @param integer $id Term ID
74
-     * @return Term the loaded model
74
+     * @return string the loaded model
75 75
      * @throws NotFoundHttpException if the model cannot be found
76 76
      */
77 77
     protected function findModel($id)
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      * @param string $slug Term Slug
93 93
      * @throws \yii\web\NotFoundHttpException
94 94
      * @internal param string $postslug
95
-     * @return Term the loaded model
95
+     * @return string the loaded model
96 96
      */
97 97
     protected function findModelBySlug($slug)
98 98
     {
Please login to merge, or discard this patch.
frontend/controllers/UserController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      *
28 28
      * @param null $id User ID
29 29
      * @param string|null $user Username
30
-     * @return mixed
30
+     * @return string
31 31
      * @throws \yii\web\NotFoundHttpException
32 32
      */
33 33
     public function actionView($id = null, $user = null)
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      * If the model is not found, a 404 HTTP exception will be thrown.
75 75
      *
76 76
      * @param int $id User ID
77
-     * @return User the loaded model
77
+     * @return string the loaded model
78 78
      * @throws NotFoundHttpException if the model cannot be found
79 79
      */
80 80
     protected function findModel($id)
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
      * If the model is not found, a 404 HTTP exception will be thrown.
92 92
      *
93 93
      * @param string $username Username
94
-     * @return User the loaded model
94
+     * @return string the loaded model
95 95
      * @throws NotFoundHttpException if the model cannot be found
96 96
      */
97 97
     protected function findModelByUsername($username)
Please login to merge, or discard this patch.
backend/controllers/MediaController.php 1 patch
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 User models.
60 60
      *
61
-     * @return mixed
61
+     * @return string
62 62
      */
63 63
     public function actionIndex()
64 64
     {
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
      * Displays a single User model.
76 76
      *
77 77
      * @param integer $id
78
-     * @return mixed
78
+     * @return string
79 79
      */
80 80
     public function actionView($id)
81 81
     {
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
      * @throws \Exception
145 145
      * @throws \yii\web\ForbiddenHttpException
146 146
      * @throws \yii\web\NotFoundHttpException
147
-     * @return mixed
147
+     * @return \yii\web\Response
148 148
      */
149 149
     public function actionDelete($id)
150 150
     {
Please login to merge, or discard this patch.
backend/controllers/ModuleController.php 1 patch
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 User models.
60 60
      *
61
-     * @return mixed
61
+     * @return string
62 62
      */
63 63
     public function actionIndex()
64 64
     {
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
      * Displays a single User model.
76 76
      *
77 77
      * @param integer $id
78
-     * @return mixed
78
+     * @return string
79 79
      */
80 80
     public function actionView($id)
81 81
     {
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
      * @throws \Exception
145 145
      * @throws \yii\web\ForbiddenHttpException
146 146
      * @throws \yii\web\NotFoundHttpException
147
-     * @return mixed
147
+     * @return \yii\web\Response
148 148
      */
149 149
     public function actionDelete($id)
150 150
     {
Please login to merge, or discard this patch.
backend/controllers/PostTypeController.php 1 patch
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 User models.
60 60
      *
61
-     * @return mixed
61
+     * @return string
62 62
      */
63 63
     public function actionIndex()
64 64
     {
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
      * Displays a single User model.
76 76
      *
77 77
      * @param integer $id
78
-     * @return mixed
78
+     * @return string
79 79
      */
80 80
     public function actionView($id)
81 81
     {
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
      * @throws \Exception
145 145
      * @throws \yii\web\ForbiddenHttpException
146 146
      * @throws \yii\web\NotFoundHttpException
147
-     * @return mixed
147
+     * @return \yii\web\Response
148 148
      */
149 149
     public function actionDelete($id)
150 150
     {
Please login to merge, or discard this patch.