Completed
Branch boring_stuff_2 (8c6745)
by Emanuele
10:34
created
sources/subs/Drafts.subs.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -292,7 +292,7 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
sources/subs/Emailpost.subs.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
sources/subs/Mentions.subs.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
  */
Please login to merge, or discard this patch.
sources/subs/Messages.subs.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -303,7 +303,7 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
sources/subs/PaidSubscriptions.subs.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -932,7 +932,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
sources/subs/Post.subs.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.