Completed
Pull Request — development (#3083)
by John
11:26
created
sources/Security.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -949,7 +949,7 @@
 block discarded – undo
949 949
  * @param string $action
950 950
  * @param bool   $is_fatal = true
951 951
  *
952
- * @return bool
952
+ * @return null|boolean
953 953
  * @throws Elk_Exception error_form_already_submitted
954 954
  */
955 955
 function checkSubmitOnce($action, $is_fatal = false)
Please login to merge, or discard this patch.
sources/modules/Drafts/DraftsPersonalMessageModule.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -196,7 +196,7 @@
 block discarded – undo
196 196
 	 * - Will load a draft if selected is supplied via post
197 197
 	 *
198 198
 	 * @param int $member_id
199
-	 * @param int|bool $id_pm = false if set, it will try to load drafts for this id
199
+	 * @param integer $id_pm = false if set, it will try to load drafts for this id
200 200
 	 *
201 201
 	 * @return bool
202 202
 	 */
Please login to merge, or discard this patch.
sources/subs/BBC/HtmlParser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
 	/**
48 48
 	 * Calls the functions to parse the handful of allowable HTML tags
49 49
 	 *
50
-	 * @param $data
50
+	 * @param string $data
51 51
 	 */
52 52
 	public function parse($data)
53 53
 	{
Please login to merge, or discard this patch.
sources/subs/Html2Md.class.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -276,7 +276,7 @@  discard block
 block discarded – undo
276 276
 	/**
277 277
 	 * Looks for the text inside of <body> and then <html>, returning just the inner
278 278
 	 *
279
-	 * @param $text
279
+	 * @param string $text
280 280
 	 *
281 281
 	 * @return string
282 282
 	 */
@@ -1176,7 +1176,7 @@  discard block
 block discarded – undo
1176 1176
 	 * Helper function to adjust wrapping width for long-ish links
1177 1177
 	 *
1178 1178
 	 * @param string $markdown
1179
-	 * @param bool|int $buffer
1179
+	 * @param integer $buffer
1180 1180
 	 */
1181 1181
 	private function _check_link_lenght($markdown, $buffer = false)
1182 1182
 	{
Please login to merge, or discard this patch.
sources/subs/Errors/Errors.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
 	 * this __construct will feed AbstractModel with a value just to stop it
48 48
 	 * from trying to initialize the database connection.
49 49
 	 *
50
-	 * @param $db Database|null
50
+	 * @param integer $db Database|null
51 51
 	 */
52 52
 	public function __construct($db = null)
53 53
 	{
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
 	/**
58 58
 	 * Halts execution, optionally displays an error message
59 59
 	 *
60
-	 * @param string|integer $error
60
+	 * @param string $error
61 61
 	 */
62 62
 	protected function terminate($error = '')
63 63
 	{
Please login to merge, or discard this patch.
sources/Subs.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1589,7 +1589,7 @@
 block discarded – undo
1589 1589
  * @param resource $messages_request holds a query result
1590 1590
  * @param bool $reset
1591 1591
  *
1592
- * @return integer|boolean
1592
+ * @return integer|null
1593 1593
  */
1594 1594
 function currentContext($messages_request, $reset = false)
1595 1595
 {
Please login to merge, or discard this patch.
sources/subs/Graphics.subs.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1401,7 +1401,7 @@  discard block
 block discarded – undo
1401 1401
  * @param int $height Height of the image
1402 1402
  * @param string $format Type of the image (valid types are png, jpeg, gif)
1403 1403
  *
1404
- * @return boolean|resource The image or false if neither Imagick nor GD are found
1404
+ * @return string|false The image or false if neither Imagick nor GD are found
1405 1405
  */
1406 1406
 function generateTextImage($text, $width = 100, $height = 100, $format = 'png')
1407 1407
 {
@@ -1439,7 +1439,7 @@  discard block
 block discarded – undo
1439 1439
  * @param int $height Height of the image
1440 1440
  * @param string $format Type of the image (valid types are png, jpeg, gif)
1441 1441
  *
1442
- * @return resource|boolean The image
1442
+ * @return string|false The image
1443 1443
  */
1444 1444
 function generateTextImageWithGD($text, $width = 100, $height = 100, $format = 'png')
1445 1445
 {
@@ -1506,7 +1506,7 @@  discard block
 block discarded – undo
1506 1506
  * @param int $height Height of the image
1507 1507
  * @param string $format Type of the image (valid types are png, jpeg, gif)
1508 1508
  *
1509
- * @return boolean|resource The image or false on error
1509
+ * @return string|false The image or false on error
1510 1510
  */
1511 1511
 function generateTextImageWithIM($text, $width = 100, $height = 100, $format = 'png')
1512 1512
 {
Please login to merge, or discard this patch.
sources/subs/Sound.subs.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@
 block discarded – undo
141 141
  * - Supports single range request only
142 142
  *
143 143
  * @param int $file_size
144
- * @return array
144
+ * @return integer[]
145 145
  */
146 146
 function set_range($file_size)
147 147
 {
Please login to merge, or discard this patch.
sources/subs/Membergroups.subs.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1264,7 +1264,7 @@  discard block
 block discarded – undo
1264 1264
  * @package Membergroups
1265 1265
  * @param int $id_group
1266 1266
  * @param int $copy_from
1267
- * @param string[]|null $illegal_permissions
1267
+ * @param string[] $illegal_permissions
1268 1268
  * @todo another function with the same name in ManagePermissions.subs.php
1269 1269
  */
1270 1270
 function copyPermissions($id_group, $copy_from, $illegal_permissions)
@@ -2019,7 +2019,7 @@  discard block
 block discarded – undo
2019 2019
  *
2020 2020
  * @package Membergroups
2021 2021
  * @param int[]|null $members = null The members to update, null if all
2022
- * @param string[]|null $parameter2 = null
2022
+ * @param integer[] $parameter2 = null
2023 2023
  */
2024 2024
 function updatePostGroupStats($members = null, $parameter2 = null)
2025 2025
 {
Please login to merge, or discard this patch.