@@ -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 | */ |
@@ -967,7 +967,7 @@ |
||
| 967 | 967 | * create a clone(copy) of the current object |
| 968 | 968 | * |
| 969 | 969 | * @access public |
| 970 | - * @return object clone |
|
| 970 | + * @return XoopsObject clone |
|
| 971 | 971 | */ |
| 972 | 972 | public function xoopsClone() |
| 973 | 973 | { |
@@ -424,7 +424,7 @@ discard block |
||
| 424 | 424 | /** |
| 425 | 425 | * @param string $format |
| 426 | 426 | * |
| 427 | - * @return mixed |
|
| 427 | + * @return string |
|
| 428 | 428 | */ |
| 429 | 429 | public function pass($format = '') |
| 430 | 430 | { |
@@ -597,7 +597,7 @@ discard block |
||
| 597 | 597 | class XoopsUserHandler extends XoopsPersistableObjectHandler |
| 598 | 598 | { |
| 599 | 599 | /** |
| 600 | - * @param XoopsDatabase|null| $db |
|
| 600 | + * @param XoopsDatabase $db |
|
| 601 | 601 | */ |
| 602 | 602 | public function __construct(XoopsDatabase $db) |
| 603 | 603 | { |
@@ -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 | { |