@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | /** |
93 | 93 | * @param string $key |
94 | 94 | * @param string $format |
95 | - * @return mixed |
|
95 | + * @return string |
|
96 | 96 | */ |
97 | 97 | public function getVar($key, $format = 's') |
98 | 98 | { |
@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | } |
158 | 158 | |
159 | 159 | /** |
160 | - * @return mixed|string |
|
160 | + * @return string |
|
161 | 161 | */ |
162 | 162 | public function generateTag() |
163 | 163 | { |
@@ -147,7 +147,7 @@ |
||
147 | 147 | } |
148 | 148 | |
149 | 149 | /** |
150 | - * @return mixed|string |
|
150 | + * @return string |
|
151 | 151 | */ |
152 | 152 | public function generateTag() |
153 | 153 | { |
@@ -12,8 +12,8 @@ |
||
12 | 12 | class SmartFormUploadElement extends XoopsFormFile |
13 | 13 | { |
14 | 14 | /** |
15 | - * @param $object |
|
16 | - * @param $key |
|
15 | + * @param string $object |
|
16 | + * @param string $key |
|
17 | 17 | */ |
18 | 18 | public function SmartFormFileElement($object, $key) |
19 | 19 | { |
@@ -306,8 +306,8 @@ |
||
306 | 306 | } |
307 | 307 | |
308 | 308 | /** |
309 | - * @param $form_name |
|
310 | - * @param $form_caption |
|
309 | + * @param string $form_name |
|
310 | + * @param string $form_caption |
|
311 | 311 | * @param bool $submit_button_caption |
312 | 312 | */ |
313 | 313 | public function createButtons($form_name, $form_caption, $submit_button_caption = false) |
@@ -237,7 +237,7 @@ |
||
237 | 237 | * Creates a random number with a specified number of $digits |
238 | 238 | * |
239 | 239 | * @param int $digits number of digits |
240 | - * @return return int random number |
|
240 | + * @return string int random number |
|
241 | 241 | * @author xHelp Team |
242 | 242 | * |
243 | 243 | * @access public |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | } |
142 | 142 | |
143 | 143 | /** |
144 | - * @param $field |
|
144 | + * @param string $field |
|
145 | 145 | * @return bool |
146 | 146 | */ |
147 | 147 | public function fieldExists($field) |
@@ -623,7 +623,7 @@ discard block |
||
623 | 623 | /** |
624 | 624 | * Use to update a table |
625 | 625 | * |
626 | - * @param object $table {@link SmartDbTable} that will be updated |
|
626 | + * @param SmartDbTable $table {@link SmartDbTable} that will be updated |
|
627 | 627 | * |
628 | 628 | * @see SmartDbTable |
629 | 629 | * |
@@ -725,7 +725,7 @@ discard block |
||
725 | 725 | /** |
726 | 726 | * @param $module |
727 | 727 | * @param $item |
728 | - * @return bool |
|
728 | + * @return false|null |
|
729 | 729 | */ |
730 | 730 | public function upgradeObjectItem($module, $item) |
731 | 731 | { |
@@ -197,7 +197,7 @@ discard block |
||
197 | 197 | /** |
198 | 198 | * @param $val |
199 | 199 | * @param $separator |
200 | - * @param $trimFunction |
|
200 | + * @param false|string $trimFunction |
|
201 | 201 | * @return mixed|string |
202 | 202 | */ |
203 | 203 | public function valToCsvHelper($val, $separator, $trimFunction) |
@@ -248,7 +248,7 @@ discard block |
||
248 | 248 | } |
249 | 249 | |
250 | 250 | /** |
251 | - * @param $content |
|
251 | + * @param string $content |
|
252 | 252 | */ |
253 | 253 | public function saveExportFile($content) |
254 | 254 | { |
@@ -165,7 +165,7 @@ discard block |
||
165 | 165 | } |
166 | 166 | |
167 | 167 | /** |
168 | - * @param $keywords |
|
168 | + * @param string|boolean $keywords |
|
169 | 169 | */ |
170 | 170 | public function setKeywords($keywords) |
171 | 171 | { |
@@ -173,7 +173,7 @@ discard block |
||
173 | 173 | } |
174 | 174 | |
175 | 175 | /** |
176 | - * @param $categoryPath |
|
176 | + * @param boolean $categoryPath |
|
177 | 177 | */ |
178 | 178 | public function setCategoryPath($categoryPath) |
179 | 179 | { |
@@ -182,7 +182,7 @@ discard block |
||
182 | 182 | } |
183 | 183 | |
184 | 184 | /** |
185 | - * @param $description |
|
185 | + * @param boolean $description |
|
186 | 186 | */ |
187 | 187 | public function setDescription($description) |
188 | 188 | { |
@@ -242,8 +242,8 @@ discard block |
||
242 | 242 | } |
243 | 243 | |
244 | 244 | /** |
245 | - * @param $text |
|
246 | - * @param $minChar |
|
245 | + * @param string $text |
|
246 | + * @param integer $minChar |
|
247 | 247 | * @return array |
248 | 248 | */ |
249 | 249 | public function findMetaKeywords($text, $minChar) |
@@ -61,7 +61,7 @@ |
||
61 | 61 | * @access public |
62 | 62 | * @param string $key key of the object's variable to be returned |
63 | 63 | * @param string $format format to use for the output |
64 | - * @return mixed formatted value of the variable |
|
64 | + * @return integer formatted value of the variable |
|
65 | 65 | */ |
66 | 66 | public function getVar($key, $format = 's') |
67 | 67 | { |