@@ -55,7 +55,7 @@ discard block |
||
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 |
||
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 | { |
@@ -61,7 +61,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 | */ |
@@ -111,7 +111,7 @@ |
||
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 | { |
@@ -64,7 +64,7 @@ discard block |
||
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 |
||
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 | { |
@@ -57,7 +57,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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) |
@@ -63,7 +63,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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) |
@@ -58,7 +58,7 @@ discard block |
||
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 |
||
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 |
||
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 | { |
@@ -75,7 +75,7 @@ |
||
75 | 75 | /** |
76 | 76 | * Scan widget directory to get list of all available widgets and list all active widgets. |
77 | 77 | * |
78 | - * @return mixed |
|
78 | + * @return string |
|
79 | 79 | */ |
80 | 80 | public function actionIndex() |
81 | 81 | { |
@@ -141,8 +141,8 @@ discard block |
||
141 | 141 | /** |
142 | 142 | * Get server var based on id. Return null when it's not exist. |
143 | 143 | * |
144 | - * @param $id |
|
145 | - * @return mixed |
|
144 | + * @param string $id |
|
145 | + * @return string |
|
146 | 146 | */ |
147 | 147 | protected function getServerVar($id) |
148 | 148 | { |
@@ -208,7 +208,7 @@ discard block |
||
208 | 208 | * If the model is not found it will return null. |
209 | 209 | * |
210 | 210 | * @param integer $id |
211 | - * @return Media|array |
|
211 | + * @return Media |
|
212 | 212 | */ |
213 | 213 | protected function findMedia($id) |
214 | 214 | { |
@@ -331,7 +331,7 @@ discard block |
||
331 | 331 | * The number before fileName extension is replaced by upCountNameCallback. |
332 | 332 | * |
333 | 333 | * @param string $fileName |
334 | - * @return mixed |
|
334 | + * @return string |
|
335 | 335 | * @see upCountNameCallback |
336 | 336 | */ |
337 | 337 | protected function upCountName($fileName) |
@@ -410,7 +410,7 @@ discard block |
||
410 | 410 | } |
411 | 411 | |
412 | 412 | /** |
413 | - * @param $fileName |
|
413 | + * @param string $fileName |
|
414 | 414 | * @param $version |
415 | 415 | * @param $options |
416 | 416 | * @return bool|\imagine\Image\ManipulatorInterface |
@@ -570,7 +570,7 @@ discard block |
||
570 | 570 | } |
571 | 571 | |
572 | 572 | /** |
573 | - * @param $pages Pagination |
|
573 | + * @param Pagination $pages Pagination |
|
574 | 574 | * @return array |
575 | 575 | */ |
576 | 576 | protected function getPaging($pages) |