@@ -292,7 +292,7 @@ |
||
292 | 292 | * @param int $member_id |
293 | 293 | * @param bool $check |
294 | 294 | * |
295 | - * @return bool |
|
295 | + * @return false|null |
|
296 | 296 | */ |
297 | 297 | function deleteDrafts($id_draft, $member_id = -1, $check = true) |
298 | 298 | { |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | * @param string $text |
31 | 31 | * @param boolean $html |
32 | 32 | * |
33 | - * @return mixed|null|string|string[] |
|
33 | + * @return string |
|
34 | 34 | */ |
35 | 35 | function pbe_email_to_bbc($text, $html) |
36 | 36 | { |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | * @param string $real_name |
131 | 131 | * @param string $charset character set of the text |
132 | 132 | * |
133 | - * @return mixed|null|string|string[] |
|
133 | + * @return string |
|
134 | 134 | */ |
135 | 135 | function pbe_fix_email_body($body, $real_name = '', $charset = 'UTF-8') |
136 | 136 | { |
@@ -177,7 +177,7 @@ discard block |
||
177 | 177 | * @param string $body |
178 | 178 | * @param boolean $html |
179 | 179 | * |
180 | - * @return mixed|string |
|
180 | + * @return string |
|
181 | 181 | */ |
182 | 182 | function pbe_fix_email_quotes($body, $html) |
183 | 183 | { |
@@ -405,7 +405,7 @@ discard block |
||
405 | 405 | * |
406 | 406 | * @param string $text |
407 | 407 | * |
408 | - * @return mixed|null|string|string[] |
|
408 | + * @return string |
|
409 | 409 | */ |
410 | 410 | function pbe_filter_email_message($text) |
411 | 411 | { |
@@ -1942,7 +1942,7 @@ discard block |
||
1942 | 1942 | * @param \ElkArte\EmailParse $email_message |
1943 | 1943 | * @param mixed[] $pbe |
1944 | 1944 | * |
1945 | - * @return mixed|null|string|string[] |
|
1945 | + * @return string |
|
1946 | 1946 | */ |
1947 | 1947 | function pbe_load_text(&$html, $email_message, $pbe) |
1948 | 1948 | { |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | * @package Mentions |
19 | 19 | * |
20 | 20 | * @param bool $all : if true counts all the mentions, otherwise only the unread |
21 | - * @param string[]|string $type : the type of the mention can be a string or an array of strings. |
|
21 | + * @param string $type : the type of the mention can be a string or an array of strings. |
|
22 | 22 | * @param string|null $id_member : the id of the member the counts are for, defaults to user_info['id'] |
23 | 23 | * |
24 | 24 | * @return mixed |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | * @param int $limit Number of mentions returned |
73 | 73 | * @param string $sort Sorting |
74 | 74 | * @param bool $all if show all mentions or only unread ones |
75 | - * @param string[]|string $type : the type of the mention can be a string or an array of strings. |
|
75 | + * @param string $type : the type of the mention can be a string or an array of strings. |
|
76 | 76 | * |
77 | 77 | * @return array |
78 | 78 | */ |
@@ -303,7 +303,7 @@ |
||
303 | 303 | * |
304 | 304 | * @param int $msg_id message ID |
305 | 305 | * @param integer|null $topicID = null topic ID, if null is passed the ID of the topic is retrieved and returned |
306 | - * @return int|false int topic ID if any, or false |
|
306 | + * @return integer int topic ID if any, or false |
|
307 | 307 | */ |
308 | 308 | function associatedTopic($msg_id, $topicID = null) |
309 | 309 | { |
@@ -932,7 +932,7 @@ |
||
932 | 932 | * |
933 | 933 | * @param int $log_id |
934 | 934 | * |
935 | - * @return array |
|
935 | + * @return integer |
|
936 | 936 | * @throws \ElkArte\Exceptions\Exception no_access |
937 | 937 | */ |
938 | 938 | function getSubscriptionStatus($log_id) |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | * |
40 | 40 | * @param string $message |
41 | 41 | * |
42 | - * @return null|string|string[] |
|
42 | + * @return string |
|
43 | 43 | */ |
44 | 44 | function un_preparsecode($message) |
45 | 45 | { |
@@ -824,7 +824,7 @@ discard block |
||
824 | 824 | * @param int[]|int $setboards |
825 | 825 | * @param int $id_msg = 0 |
826 | 826 | * |
827 | - * @return bool |
|
827 | + * @return false|null |
|
828 | 828 | * @throws \ElkArte\Exceptions\Exception |
829 | 829 | */ |
830 | 830 | function updateLastMessages($setboards, $id_msg = 0) |
@@ -1026,7 +1026,7 @@ discard block |
||
1026 | 1026 | * |
1027 | 1027 | * @package Posts |
1028 | 1028 | * |
1029 | - * @param int|bool $editing |
|
1029 | + * @param integer $editing |
|
1030 | 1030 | * @param int|null|false $topic |
1031 | 1031 | * @param string $first_subject |
1032 | 1032 | * @param int $msg_id |