@@ -124,7 +124,7 @@ |
||
| 124 | 124 | * - Calls _setOptions to set the curl opts array values based on the defaults and user input |
| 125 | 125 | * |
| 126 | 126 | * @param string $url the site we are going to fetch |
| 127 | - * @param mixed[]|string $post_data data to send in the curl request as post data |
|
| 127 | + * @param string $post_data data to send in the curl request as post data |
|
| 128 | 128 | */ |
| 129 | 129 | public function get_url_data($url, $post_data = array()) |
| 130 | 130 | { |
@@ -332,7 +332,7 @@ |
||
| 332 | 332 | * http://www.greywyvern.com/code/php/utf8_html.phps |
| 333 | 333 | * |
| 334 | 334 | * @param string $c |
| 335 | - * @return integer|false |
|
| 335 | + * @return integer |
|
| 336 | 336 | */ |
| 337 | 337 | private function _uniord($c) |
| 338 | 338 | { |
@@ -2084,7 +2084,7 @@ |
||
| 2084 | 2084 | * Count boards all or specific depending on argument, redirect boards excluded by default. |
| 2085 | 2085 | * |
| 2086 | 2086 | * @package Boards |
| 2087 | - * @param mixed[]|string $conditions is an associative array that holds the board or the cat IDs |
|
| 2087 | + * @param string $conditions is an associative array that holds the board or the cat IDs |
|
| 2088 | 2088 | * 'categories' => an array of category IDs (it accepts a single ID too) |
| 2089 | 2089 | * 'boards' => an array of board IDs (it accepts a single ID too) |
| 2090 | 2090 | * if conditions is set to 'all' (not an array) all the boards are queried |
@@ -265,7 +265,7 @@ |
||
| 265 | 265 | |
| 266 | 266 | /** |
| 267 | 267 | * Return the validation data, all or a specific key |
| 268 | - * @param integer|string|null $key int or string |
|
| 268 | + * @param string $key int or string |
|
| 269 | 269 | */ |
| 270 | 270 | public function validation_data($key = null) |
| 271 | 271 | { |
@@ -1436,7 +1436,7 @@ |
||
| 1436 | 1436 | * Counts the number of members based on conditions |
| 1437 | 1437 | * |
| 1438 | 1438 | * @package Members |
| 1439 | - * @param string[]|string $query see prepareMembersByQuery |
|
| 1439 | + * @param string $query see prepareMembersByQuery |
|
| 1440 | 1440 | * @param mixed[] $query_params see prepareMembersByQuery |
| 1441 | 1441 | * @param boolean $only_active see prepareMembersByQuery |
| 1442 | 1442 | */ |
@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | * Sets the sorting query and the direction |
| 117 | 117 | * |
| 118 | 118 | * @param string $query - The query to be used in the ORDER clause |
| 119 | - * @param bool|int $asc - If the sorting is ascending or not |
|
| 119 | + * @param boolean $asc - If the sorting is ascending or not |
|
| 120 | 120 | */ |
| 121 | 121 | public function setSorting($query, $asc) |
| 122 | 122 | { |
@@ -218,7 +218,7 @@ discard block |
||
| 218 | 218 | * the messages table |
| 219 | 219 | * @param int $start - position to start the query |
| 220 | 220 | * @param int $limit - number of entries to grab |
| 221 | - * @param bool|int $include_avatars - if avatars should be retrieved as well |
|
| 221 | + * @param boolean $include_avatars - if avatars should be retrieved as well |
|
| 222 | 222 | * @return mixed[] - see Topic_Util::prepareContext |
| 223 | 223 | */ |
| 224 | 224 | private function _getUnreadTopics($join, $start, $limit, $include_avatars = false) |
@@ -383,7 +383,7 @@ discard block |
||
| 383 | 383 | * |
| 384 | 384 | * @param int $start - position to start the query |
| 385 | 385 | * @param int $limit - number of entries to grab |
| 386 | - * @param bool|int $include_avatars - if avatars should be retrieved as well |
|
| 386 | + * @param boolean $include_avatars - if avatars should be retrieved as well |
|
| 387 | 387 | * @return mixed[] - see Topic_Util::prepareContext |
| 388 | 388 | */ |
| 389 | 389 | private function _getUnreadReplies($start, $limit, $include_avatars = false) |
@@ -135,7 +135,7 @@ |
||
| 135 | 135 | /** |
| 136 | 136 | * The first error occurred |
| 137 | 137 | * |
| 138 | - * @return array|string |
|
| 138 | + * @return string|null |
|
| 139 | 139 | */ |
| 140 | 140 | public function firstError() |
| 141 | 141 | { |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | * @param bool $single_file = false |
| 29 | 29 | * @param bool $overwrite = false |
| 30 | 30 | * @param string[]|null $files_to_extract = null |
| 31 | - * @return array|false |
|
| 31 | + * @return string |
|
| 32 | 32 | */ |
| 33 | 33 | function read_tgz_file($gzfilename, $destination, $single_file = false, $overwrite = false, $files_to_extract = null) |
| 34 | 34 | { |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | * @param bool $single_file = false, |
| 78 | 78 | * @param bool $overwrite = false, |
| 79 | 79 | * @param string[]|null $files_to_extract = null |
| 80 | - * @return array|false |
|
| 80 | + * @return string |
|
| 81 | 81 | */ |
| 82 | 82 | function read_tgz_data($data, $destination, $single_file = false, $overwrite = false, $files_to_extract = null) |
| 83 | 83 | { |
@@ -1232,7 +1232,7 @@ |
||
| 1232 | 1232 | * @package Membergroups |
| 1233 | 1233 | * @param int $id_group |
| 1234 | 1234 | * @param int $copy_from |
| 1235 | - * @param string[]|null $illegal_permissions |
|
| 1235 | + * @param string[] $illegal_permissions |
|
| 1236 | 1236 | * @todo another function with the same name in ManagePermissions.subs.php |
| 1237 | 1237 | */ |
| 1238 | 1238 | function copyPermissions($id_group, $copy_from, $illegal_permissions) |