@@ -621,7 +621,7 @@ discard block |
||
| 621 | 621 | * </code> |
| 622 | 622 | * |
| 623 | 623 | * @param string $src path to an external script file |
| 624 | - * @param array $attributes hash of attributes to add to the <script> tag |
|
| 624 | + * @param string $attributes hash of attributes to add to the <script> tag |
|
| 625 | 625 | * @param string $content Code snippet to output within the <script> tag |
| 626 | 626 | * @param string $name Element Name in array scripts are stored in. |
| 627 | 627 | * @return void |
@@ -757,7 +757,7 @@ discard block |
||
| 757 | 757 | * xos_opal_Theme::renderMetas() |
| 758 | 758 | * |
| 759 | 759 | * @param mixed $type |
| 760 | - * @param mixed $return |
|
| 760 | + * @param boolean $return |
|
| 761 | 761 | * @return bool|string |
| 762 | 762 | */ |
| 763 | 763 | public function renderMetas($type = null, $return = false) |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | } |
| 54 | 54 | |
| 55 | 55 | /** |
| 56 | - * @param $name |
|
| 56 | + * @param string $name |
|
| 57 | 57 | * @param $value |
| 58 | 58 | */ |
| 59 | 59 | public function setThemeSetData($name, &$value) |
@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | } |
| 113 | 113 | |
| 114 | 114 | /** |
| 115 | - * @param $name |
|
| 115 | + * @param string $name |
|
| 116 | 116 | * @param $value |
| 117 | 117 | * @param string $delim |
| 118 | 118 | */ |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | * @param string $caption form element caption |
| 35 | 35 | * @param string $name form element name |
| 36 | 36 | * @param bool $includeAnonymous Include user "anonymous"? |
| 37 | - * @param mixed $value Pre-selected value (or array of them). |
|
| 37 | + * @param string $value Pre-selected value (or array of them). |
|
| 38 | 38 | * For an item with massive members, such as "Registered Users", "$value" |
| 39 | 39 | * should be used to store selected temporary users only instead of all |
| 40 | 40 | * members of that item |
@@ -43,8 +43,8 @@ discard block |
||
| 43 | 43 | //sets the names of table, unique id, and parend id |
| 44 | 44 | /** |
| 45 | 45 | * @param $table_name |
| 46 | - * @param $id_name |
|
| 47 | - * @param $pid_name |
|
| 46 | + * @param string $id_name |
|
| 47 | + * @param string $pid_name |
|
| 48 | 48 | */ |
| 49 | 49 | public function __construct($table_name, $id_name, $pid_name) |
| 50 | 50 | { |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | |
| 58 | 58 | // returns an array of first child objects for a given id($sel_id) |
| 59 | 59 | /** |
| 60 | - * @param $sel_id |
|
| 60 | + * @param integer $sel_id |
|
| 61 | 61 | * @param string $order |
| 62 | 62 | * |
| 63 | 63 | * @return array |
@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | |
| 107 | 107 | //returns an array of ALL child ids for a given id($sel_id) |
| 108 | 108 | /** |
| 109 | - * @param $sel_id |
|
| 109 | + * @param integer $sel_id |
|
| 110 | 110 | * @param string $order |
| 111 | 111 | * @param array $idarray |
| 112 | 112 | * |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | |
| 135 | 135 | //returns an array of ALL parent ids for a given id($sel_id) |
| 136 | 136 | /** |
| 137 | - * @param $sel_id |
|
| 137 | + * @param integer $sel_id |
|
| 138 | 138 | * @param string $order |
| 139 | 139 | * @param array $idarray |
| 140 | 140 | * |
@@ -190,7 +190,7 @@ discard block |
||
| 190 | 190 | //$preset_id is used to specify a preselected item |
| 191 | 191 | //set $none to 1 to add a option with value 0 |
| 192 | 192 | /** |
| 193 | - * @param $title |
|
| 193 | + * @param string $title |
|
| 194 | 194 | * @param string $order |
| 195 | 195 | * @param int $preset_id |
| 196 | 196 | * @param int $none |
@@ -239,8 +239,8 @@ discard block |
||
| 239 | 239 | |
| 240 | 240 | //generates nicely formatted linked path from the root id to a given id |
| 241 | 241 | /** |
| 242 | - * @param $sel_id |
|
| 243 | - * @param $title |
|
| 242 | + * @param integer $sel_id |
|
| 243 | + * @param string $title |
|
| 244 | 244 | * @param $funcURL |
| 245 | 245 | * @param string $path |
| 246 | 246 | * |
@@ -295,8 +295,8 @@ discard block |
||
| 295 | 295 | /** |
| 296 | 296 | * Enter description here... |
| 297 | 297 | * |
| 298 | - * @param int|mixed $sel_id |
|
| 299 | - * @param string|mixed $order |
|
| 298 | + * @param integer $sel_id |
|
| 299 | + * @param string $order |
|
| 300 | 300 | * @param array|mixed $parray |
| 301 | 301 | * |
| 302 | 302 | * @return mixed |
@@ -324,8 +324,8 @@ discard block |
||
| 324 | 324 | /** |
| 325 | 325 | * Enter description here... |
| 326 | 326 | * |
| 327 | - * @param int|mixed $sel_id |
|
| 328 | - * @param string|mixed $order |
|
| 327 | + * @param integer $sel_id |
|
| 328 | + * @param string $order |
|
| 329 | 329 | * @param array|mixed $parray |
| 330 | 330 | * @param string|mixed $r_prefix |
| 331 | 331 | * @return mixed |
@@ -312,7 +312,7 @@ discard block |
||
| 312 | 312 | /** |
| 313 | 313 | * Returns Class Base Variable name |
| 314 | 314 | * @param string $format |
| 315 | - * @return mixed |
|
| 315 | + * @return string |
|
| 316 | 316 | */ |
| 317 | 317 | public function name($format = '') |
| 318 | 318 | { |
@@ -430,7 +430,7 @@ discard block |
||
| 430 | 430 | } |
| 431 | 431 | |
| 432 | 432 | /** |
| 433 | - * @param $dirname |
|
| 433 | + * @param string $dirname |
|
| 434 | 434 | * |
| 435 | 435 | * @return mixed |
| 436 | 436 | */ |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | public $_fields = array(); |
| 65 | 65 | |
| 66 | 66 | /** |
| 67 | - * @param null|XoopsDatabase $db |
|
| 67 | + * @param XoopsDatabase $db |
|
| 68 | 68 | */ |
| 69 | 69 | public function __construct(XoopsDatabase $db) |
| 70 | 70 | { |
@@ -100,7 +100,7 @@ discard block |
||
| 100 | 100 | * @param integer|null $uid |
| 101 | 101 | * @param string[]|null $fields array of field names to fetch, null for all |
| 102 | 102 | * |
| 103 | - * @return object {@link ProfileProfile} |
|
| 103 | + * @return XoopsObject {@link ProfileProfile} |
|
| 104 | 104 | * |
| 105 | 105 | * @internal This was get($uid, $createOnFailure = true). No callers found using the extra parameter. |
| 106 | 106 | * @internal Modified to match parent signature. |
@@ -521,7 +521,7 @@ discard block |
||
| 521 | 521 | } |
| 522 | 522 | |
| 523 | 523 | /** |
| 524 | - * @param $dirname |
|
| 524 | + * @param string $dirname |
|
| 525 | 525 | * @param $template |
| 526 | 526 | * @param string $type |
| 527 | 527 | * |
@@ -1411,9 +1411,9 @@ discard block |
||
| 1411 | 1411 | |
| 1412 | 1412 | /** |
| 1413 | 1413 | * @param \XoopsModule $module |
| 1414 | - * @param $title |
|
| 1414 | + * @param string $title |
|
| 1415 | 1415 | * |
| 1416 | - * @return array |
|
| 1416 | + * @return string[] |
|
| 1417 | 1417 | */ |
| 1418 | 1418 | function xoops_module_log_header($module, $title) |
| 1419 | 1419 | { |
@@ -1439,7 +1439,7 @@ discard block |
||
| 1439 | 1439 | * 2 = smarty compile |
| 1440 | 1440 | * 3 = xoops cache |
| 1441 | 1441 | * or null to clear all |
| 1442 | - * @return bool |
|
| 1442 | + * @return boolean|null |
|
| 1443 | 1443 | */ |
| 1444 | 1444 | function xoops_module_delayed_clean_cache($cacheList = null) |
| 1445 | 1445 | { |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | public $logs = array(); |
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | - * @param null $dirname |
|
| 32 | + * @param string $dirname |
|
| 33 | 33 | */ |
| 34 | 34 | public function __construct($dirname = null) |
| 35 | 35 | { |
@@ -107,8 +107,8 @@ discard block |
||
| 107 | 107 | * Relocated here from upgrade/index.php |
| 108 | 108 | * |
| 109 | 109 | * @param \XoopsMySQLDatabase $db |
| 110 | - * @param $table |
|
| 111 | - * @param $field |
|
| 110 | + * @param string $table |
|
| 111 | + * @param string $field |
|
| 112 | 112 | * @param string $condition |
| 113 | 113 | * |
| 114 | 114 | * @return bool |
@@ -292,7 +292,7 @@ discard block |
||
| 292 | 292 | /** |
| 293 | 293 | * XoopsBlock::getOptions() |
| 294 | 294 | * |
| 295 | - * @return bool|string |
|
| 295 | + * @return string |
|
| 296 | 296 | */ |
| 297 | 297 | public function getOptions() |
| 298 | 298 | { |
@@ -335,7 +335,7 @@ discard block |
||
| 335 | 335 | * 4: centerblock - right |
| 336 | 336 | * 5: centerblock - center |
| 337 | 337 | * 6: centerblock - left, right, center |
| 338 | - * @param $visible 0: not visible 1: visible |
|
| 338 | + * @param integer $visible 0: not visible 1: visible |
|
| 339 | 339 | * @param string $orderby order of the blocks |
| 340 | 340 | * @param int $isactive |
| 341 | 341 | * @returns array of block objects |
@@ -464,7 +464,7 @@ discard block |
||
| 464 | 464 | * XoopsBlock::getByModule() |
| 465 | 465 | * |
| 466 | 466 | * @param mixed $moduleid |
| 467 | - * @param mixed $asobject |
|
| 467 | + * @param boolean $asobject |
|
| 468 | 468 | * @return array |
| 469 | 469 | */ |
| 470 | 470 | public static function getByModule($moduleid, $asobject = true) |
@@ -494,8 +494,8 @@ discard block |
||
| 494 | 494 | * |
| 495 | 495 | * @param mixed $groupid |
| 496 | 496 | * @param integer $module_id |
| 497 | - * @param mixed $toponlyblock |
|
| 498 | - * @param mixed $visible |
|
| 497 | + * @param boolean $toponlyblock |
|
| 498 | + * @param integer $visible |
|
| 499 | 499 | * @param string $orderby |
| 500 | 500 | * @param integer $isactive |
| 501 | 501 | * @return array |