@@ -1241,7 +1241,7 @@ discard block |
||
| 1241 | 1241 | * @package Membergroups |
| 1242 | 1242 | * @param int $id_group |
| 1243 | 1243 | * @param int $copy_from |
| 1244 | - * @param string[]|null $illegal_permissions |
|
| 1244 | + * @param string[] $illegal_permissions |
|
| 1245 | 1245 | * @todo another function with the same name in ManagePermissions.subs.php |
| 1246 | 1246 | */ |
| 1247 | 1247 | function copyPermissions($id_group, $copy_from, $illegal_permissions) |
@@ -1996,7 +1996,7 @@ discard block |
||
| 1996 | 1996 | * |
| 1997 | 1997 | * @package Membergroups |
| 1998 | 1998 | * @param int[]|null $members = null The members to update, null if all |
| 1999 | - * @param string[]|null $parameter2 = null |
|
| 1999 | + * @param integer[] $parameter2 = null |
|
| 2000 | 2000 | */ |
| 2001 | 2001 | function updatePostGroupStats($members = null, $parameter2 = null) |
| 2002 | 2002 | { |
@@ -1224,7 +1224,7 @@ discard block |
||
| 1224 | 1224 | * |
| 1225 | 1225 | * @param mixed[] $members |
| 1226 | 1226 | * |
| 1227 | - * @return bool |
|
| 1227 | + * @return false|null |
|
| 1228 | 1228 | */ |
| 1229 | 1229 | function populateDuplicateMembers(&$members) |
| 1230 | 1230 | { |
@@ -1477,7 +1477,7 @@ discard block |
||
| 1477 | 1477 | * |
| 1478 | 1478 | * @package Members |
| 1479 | 1479 | * |
| 1480 | - * @param string[]|string $query see prepareMembersByQuery |
|
| 1480 | + * @param string $query see prepareMembersByQuery |
|
| 1481 | 1481 | * @param mixed[] $query_params see prepareMembersByQuery |
| 1482 | 1482 | * @param boolean $only_active see prepareMembersByQuery |
| 1483 | 1483 | * |
@@ -968,7 +968,7 @@ |
||
| 968 | 968 | * @param string[] $possible_methods The array of notifications ('type' => 'level') |
| 969 | 969 | * @param string $type The type of notification (mentionmem, likemsg, etc.) |
| 970 | 970 | * |
| 971 | - * @return array |
|
| 971 | + * @return string[] |
|
| 972 | 972 | */ |
| 973 | 973 | function filterNotificationMethods($possible_methods, $type) |
| 974 | 974 | { |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | * @param bool $single_file = false |
| 26 | 26 | * @param bool $overwrite = false |
| 27 | 27 | * @param string[]|null $files_to_extract = null |
| 28 | - * @return array|false |
|
| 28 | + * @return string |
|
| 29 | 29 | */ |
| 30 | 30 | function read_tgz_file($gzfilename, $destination, $single_file = false, $overwrite = false, $files_to_extract = null) |
| 31 | 31 | { |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | * @param bool $single_file = false, |
| 75 | 75 | * @param bool $overwrite = false, |
| 76 | 76 | * @param string[]|null $files_to_extract = null |
| 77 | - * @return array|false |
|
| 77 | + * @return string |
|
| 78 | 78 | */ |
| 79 | 79 | function read_tgz_data($data, $destination, $single_file = false, $overwrite = false, $files_to_extract = null) |
| 80 | 80 | { |
@@ -348,7 +348,7 @@ |
||
| 348 | 348 | * Mark the specified personal messages as unread. |
| 349 | 349 | * |
| 350 | 350 | * @package PersonalMessage |
| 351 | - * @param int|int[] $personal_messages |
|
| 351 | + * @param integer $personal_messages |
|
| 352 | 352 | */ |
| 353 | 353 | function markMessagesUnread($personal_messages) |
| 354 | 354 | { |
@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | * |
| 25 | 25 | * @param string $word |
| 26 | 26 | * |
| 27 | - * @return bool |
|
| 27 | + * @return null|boolean |
|
| 28 | 28 | */ |
| 29 | 29 | function createWaveFile($word) |
| 30 | 30 | { |
@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | * - Supports single range request only |
| 144 | 144 | * |
| 145 | 145 | * @param int $file_size |
| 146 | - * @return array |
|
| 146 | + * @return integer[] |
|
| 147 | 147 | */ |
| 148 | 148 | function set_range($file_size) |
| 149 | 149 | { |
@@ -1335,7 +1335,7 @@ |
||
| 1335 | 1335 | * |
| 1336 | 1336 | * @param int $topic id of a topic |
| 1337 | 1337 | * @param int|null $msg the id of a message, if empty, t.id_first_msg is used |
| 1338 | - * @return mixed[]|boolean to topic attributes |
|
| 1338 | + * @return string|null to topic attributes |
|
| 1339 | 1339 | */ |
| 1340 | 1340 | function getTopicInfoByMsg($topic, $msg = null) |
| 1341 | 1341 | { |
@@ -18,6 +18,9 @@ |
||
| 18 | 18 | protected $count_mode = false; |
| 19 | 19 | protected $replaces = array(); |
| 20 | 20 | |
| 21 | + /** |
|
| 22 | + * @param ElkArte\Database\QueryInterface $db |
|
| 23 | + */ |
|
| 21 | 24 | public function __construct($db, $replaces) |
| 22 | 25 | { |
| 23 | 26 | $this->db = $db; |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | * @param int $substep |
| 20 | 20 | * @param boolean $is_test |
| 21 | 21 | * |
| 22 | - * @return boolean |
|
| 22 | + * @return boolean|null |
|
| 23 | 23 | */ |
| 24 | 24 | function protected_alter($change, $substep, $is_test = false) |
| 25 | 25 | { |