Completed
Pull Request — development (#3098)
by John
09:23
created
sources/subs/BBC/SmileyParser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
 	 *
106 106
 	 * @param string $message
107 107
 	 *
108
-	 * @return null|string|string[]
108
+	 * @return string
109 109
 	 */
110 110
 	public function parseBlock($message)
111 111
 	{
Please login to merge, or discard this patch.
sources/subs/DataValidator.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -293,7 +293,7 @@
 block discarded – undo
293 293
 	/**
294 294
 	 * Return the validation data, all or a specific key
295 295
 	 *
296
-	 * @param integer|string|null $key int or string
296
+	 * @param string $key int or string
297 297
 	 *
298 298
 	 * @return mixed|mixed[]|null
299 299
 	 */
Please login to merge, or discard this patch.
sources/subs/Emailpost.subs.php 1 patch
Doc Comments   +4 added lines, -4 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
 {
Please login to merge, or discard this patch.
sources/subs/Errors/ErrorContext.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@
 block discarded – undo
112 112
 	/**
113 113
 	 * Remove an error from the list
114 114
 	 *
115
-	 * @param mixed[]|mixed $error error code
115
+	 * @param string $error error code
116 116
 	 */
117 117
 	public function removeError($error)
118 118
 	{
Please login to merge, or discard this patch.
sources/subs/Errors/Errors.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 	 * this __construct will feed AbstractModel with a value just to stop it
47 47
 	 * from trying to initialize the database connection.
48 48
 	 *
49
-	 * @param $db Database|null
49
+	 * @param integer $db Database|null
50 50
 	 */
51 51
 	public function __construct($db = null)
52 52
 	{
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 	/**
57 57
 	 * Halts execution, optionally displays an error message
58 58
 	 *
59
-	 * @param string|integer $error
59
+	 * @param string $error
60 60
 	 */
61 61
 	protected function terminate($error = '')
62 62
 	{
@@ -283,7 +283,7 @@  discard block
 block discarded – undo
283 283
 	 * @param string $error_message
284 284
 	 * @param string $error_code string or int code
285 285
 	 *
286
-	 * @return bool
286
+	 * @return false|null
287 287
 	 * @throws \Elk_Exception
288 288
 	 */
289 289
 	final protected function _setup_fatal_ErrorContext($error_message, $error_code)
@@ -465,8 +465,8 @@  discard block
 block discarded – undo
465 465
 	 * Small utility function for simplify logging of deprecated functions
466 466
 	 * in the development phase of 2.0.
467 467
 	 *
468
-	 * @param $function
469
-	 * @param $replacement
468
+	 * @param string $function
469
+	 * @param string $replacement
470 470
 	 */
471 471
 	public function log_deprecated($function, $replacement)
472 472
 	{
Please login to merge, or discard this patch.
sources/subs/Mail.subs.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -783,7 +783,7 @@
 block discarded – undo
783 783
  * @param string $encoded_unq_head
784 784
  * @param string $line_break
785 785
  *
786
- * @return mixed|null|string|string[]
786
+ * @return string
787 787
  */
788 788
 function mail_insert_key($message, $unq_head, $encoded_unq_head, $line_break)
789 789
 {
Please login to merge, or discard this patch.
sources/subs/Maintenance.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 string $column
305 305
  *
306
- * @return bool
306
+ * @return false|null
307 307
  */
308 308
 function resetBoardsCounter($column)
309 309
 {
Please login to merge, or discard this patch.
sources/subs/ManageAttachments.subs.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1007,7 +1007,7 @@
 block discarded – undo
1007 1007
  * @param int[] $attachments
1008 1008
  * @param string $approve_query
1009 1009
  *
1010
- * @return array
1010
+ * @return integer[]
1011 1011
  */
1012 1012
 function validateAttachments($attachments, $approve_query)
1013 1013
 {
Please login to merge, or discard this patch.
sources/subs/Members.subs.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1227,7 +1227,7 @@  discard block
 block discarded – undo
1227 1227
  *
1228 1228
  * @param mixed[] $members
1229 1229
  *
1230
- * @return bool
1230
+ * @return false|null
1231 1231
  */
1232 1232
 function populateDuplicateMembers(&$members)
1233 1233
 {
@@ -1480,7 +1480,7 @@  discard block
 block discarded – undo
1480 1480
  *
1481 1481
  * @package Members
1482 1482
  *
1483
- * @param string[]|string $query see prepareMembersByQuery
1483
+ * @param string $query see prepareMembersByQuery
1484 1484
  * @param mixed[] $query_params see prepareMembersByQuery
1485 1485
  * @param boolean $only_active see prepareMembersByQuery
1486 1486
  *
Please login to merge, or discard this patch.