@@ -53,9 +53,9 @@ discard block |
||
| 53 | 53 | } |
| 54 | 54 | |
| 55 | 55 | /** |
| 56 | - * @param $text |
|
| 56 | + * @param string $text |
|
| 57 | 57 | * |
| 58 | - * @return mixed|string |
|
| 58 | + * @return string |
|
| 59 | 59 | */ |
| 60 | 60 | public function php($text) |
| 61 | 61 | { |
@@ -103,8 +103,8 @@ discard block |
||
| 103 | 103 | } |
| 104 | 104 | |
| 105 | 105 | /** |
| 106 | - * @param $source |
|
| 107 | - * @param $language |
|
| 106 | + * @param string $source |
|
| 107 | + * @param string $language |
|
| 108 | 108 | * |
| 109 | 109 | * @return bool |
| 110 | 110 | */ |
@@ -141,7 +141,7 @@ |
||
| 141 | 141 | /** |
| 142 | 142 | * xos_logos_PageBuilder::generateCacheId() |
| 143 | 143 | * |
| 144 | - * @param mixed $cache_id |
|
| 144 | + * @param string $cache_id |
|
| 145 | 145 | * @return mixed |
| 146 | 146 | */ |
| 147 | 147 | public function generateCacheId($cache_id) |
@@ -378,7 +378,7 @@ |
||
| 378 | 378 | /** |
| 379 | 379 | * Copy the file to its destination |
| 380 | 380 | * |
| 381 | - * @param $chmod |
|
| 381 | + * @param integer $chmod |
|
| 382 | 382 | * @return bool |
| 383 | 383 | */ |
| 384 | 384 | public function _copyFile($chmod) |
@@ -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 | { |
@@ -72,6 +72,10 @@ discard block |
||
| 72 | 72 | * @param $isCaseFolding |
| 73 | 73 | * @returns void |
| 74 | 74 | ****************************************************************************/ |
| 75 | + |
|
| 76 | + /** |
|
| 77 | + * @param boolean $isCaseFolding |
|
| 78 | + */ |
|
| 75 | 79 | public function setCaseFolding($isCaseFolding) |
| 76 | 80 | { |
| 77 | 81 | assert(is_bool($isCaseFolding)); |
@@ -377,7 +381,7 @@ discard block |
||
| 377 | 381 | /** |
| 378 | 382 | * Sets error messages |
| 379 | 383 | * |
| 380 | - * @param $error string an error message |
|
| 384 | + * @param string $error string an error message |
|
| 381 | 385 | */ |
| 382 | 386 | public function setErrors($error) |
| 383 | 387 | { |
@@ -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 | { |