@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | /** |
80 | 80 | * XoopsUserUtility::validate |
81 | 81 | * |
82 | - * @return bool|string |
|
82 | + * @return false|string |
|
83 | 83 | */ |
84 | 84 | public static function validate() |
85 | 85 | { |
@@ -256,8 +256,8 @@ discard block |
||
256 | 256 | * XoopsUserUtility::getUnameFromIds() |
257 | 257 | * |
258 | 258 | * @param mixed $uid |
259 | - * @param mixed $usereal |
|
260 | - * @param mixed $linked |
|
259 | + * @param boolean $usereal |
|
260 | + * @param boolean $linked |
|
261 | 261 | * @return array |
262 | 262 | */ |
263 | 263 | public static function getUnameFromIds($uid, $usereal = false, $linked = false) |
@@ -299,7 +299,7 @@ discard block |
||
299 | 299 | * |
300 | 300 | * @param mixed $userid |
301 | 301 | * @param mixed $usereal |
302 | - * @param mixed $linked |
|
302 | + * @param boolean $linked |
|
303 | 303 | * @return string |
304 | 304 | */ |
305 | 305 | public static function getUnameFromId($userid, $usereal = false, $linked = false) |
@@ -154,8 +154,8 @@ |
||
154 | 154 | } |
155 | 155 | |
156 | 156 | /** |
157 | - * @param $xoopstag |
|
158 | - * @param $blogtag |
|
157 | + * @param string $xoopstag |
|
158 | + * @param string $blogtag |
|
159 | 159 | */ |
160 | 160 | public function _setXoopsTagMap($xoopstag, $blogtag) |
161 | 161 | { |
@@ -291,7 +291,7 @@ discard block |
||
291 | 291 | /** |
292 | 292 | * XoopsBlock::getOptions() |
293 | 293 | * |
294 | - * @return bool |
|
294 | + * @return string |
|
295 | 295 | */ |
296 | 296 | public function getOptions() |
297 | 297 | { |
@@ -327,14 +327,14 @@ discard block |
||
327 | 327 | * get all the blocks that match the supplied parameters |
328 | 328 | * @param $groupid groupid (can be an array) |
329 | 329 | * @param bool $asobject |
330 | - * @param $side 0: sideblock - left |
|
330 | + * @param integer $side 0: sideblock - left |
|
331 | 331 | * 1: sideblock - right |
332 | 332 | * 2: sideblock - left and right |
333 | 333 | * 3: centerblock - left |
334 | 334 | * 4: centerblock - right |
335 | 335 | * 5: centerblock - center |
336 | 336 | * 6: centerblock - left, right, center |
337 | - * @param $visible 0: not visible 1: visible |
|
337 | + * @param integer $visible 0: not visible 1: visible |
|
338 | 338 | * @param string $orderby order of the blocks |
339 | 339 | * @param int $isactive |
340 | 340 | * @returns array of block objects |
@@ -461,7 +461,7 @@ discard block |
||
461 | 461 | * XoopsBlock::getByModule() |
462 | 462 | * |
463 | 463 | * @param mixed $moduleid |
464 | - * @param mixed $asobject |
|
464 | + * @param boolean $asobject |
|
465 | 465 | * @return array |
466 | 466 | */ |
467 | 467 | public static function getByModule($moduleid, $asobject = true) |
@@ -491,8 +491,8 @@ discard block |
||
491 | 491 | * |
492 | 492 | * @param mixed $groupid |
493 | 493 | * @param integer $module_id |
494 | - * @param mixed $toponlyblock |
|
495 | - * @param mixed $visible |
|
494 | + * @param boolean $toponlyblock |
|
495 | + * @param integer $visible |
|
496 | 496 | * @param string $orderby |
497 | 497 | * @param integer $isactive |
498 | 498 | * @return array |
@@ -121,7 +121,7 @@ |
||
121 | 121 | /** |
122 | 122 | * prepare HTML for output |
123 | 123 | * |
124 | - * @return sting HTML |
|
124 | + * @return string HTML |
|
125 | 125 | */ |
126 | 126 | public function render() |
127 | 127 | { |
@@ -252,7 +252,7 @@ |
||
252 | 252 | /** |
253 | 253 | * @param string $css_file |
254 | 254 | * |
255 | - * @return array |
|
255 | + * @return string[] |
|
256 | 256 | */ |
257 | 257 | public function loadCss($css_file = 'style.css') |
258 | 258 | { |
@@ -146,7 +146,7 @@ |
||
146 | 146 | /** |
147 | 147 | * XoopsEditorHandler::getList() |
148 | 148 | * |
149 | - * @param mixed $noHtml |
|
149 | + * @param boolean $noHtml |
|
150 | 150 | * |
151 | 151 | * @return array |
152 | 152 | */ |
@@ -188,7 +188,7 @@ |
||
188 | 188 | /** |
189 | 189 | * @param $value |
190 | 190 | * @param $key |
191 | - * @param $ret |
|
191 | + * @param string $ret |
|
192 | 192 | * @param string $hashinfo |
193 | 193 | * |
194 | 194 | * @return string |
@@ -86,7 +86,7 @@ |
||
86 | 86 | /** |
87 | 87 | * Set the initial value |
88 | 88 | * |
89 | - * @param $value |
|
89 | + * @param string $value |
|
90 | 90 | * |
91 | 91 | * @return string |
92 | 92 | */ |
@@ -324,7 +324,7 @@ discard block |
||
324 | 324 | * |
325 | 325 | * @param string $extra |
326 | 326 | * @param bool $replace If true, passed string will replace current content otherwise it will be appended to it |
327 | - * @return array New content of the extra string |
|
327 | + * @return string[] New content of the extra string |
|
328 | 328 | */ |
329 | 329 | public function setExtra($extra, $replace = false) |
330 | 330 | { |
@@ -373,7 +373,7 @@ discard block |
||
373 | 373 | * Get the element's nocolspan |
374 | 374 | * Modified by Catzwolf |
375 | 375 | * |
376 | - * @return string |
|
376 | + * @return boolean |
|
377 | 377 | * |
378 | 378 | * @deprecated PLEASE AVOID USING THIS METHOD |
379 | 379 | */ |