Completed
Pull Request — development (#3105)
by John
13:01
created
sources/subs/PaidSubscriptions.subs.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -935,7 +935,7 @@
 block discarded – undo
935 935
  *
936 936
  * @param int $log_id
937 937
  *
938
- * @return array
938
+ * @return integer
939 939
  * @throws Elk_Exception no_access
940 940
  */
941 941
 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
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
  *
41 41
  * @param string $message
42 42
  *
43
- * @return null|string|string[]
43
+ * @return string
44 44
  */
45 45
 function un_preparsecode($message)
46 46
 {
@@ -828,7 +828,7 @@  discard block
 block discarded – undo
828 828
  * @param int[]|int $setboards
829 829
  * @param int $id_msg = 0
830 830
  *
831
- * @return bool
831
+ * @return false|null
832 832
  * @throws Elk_Exception
833 833
  */
834 834
 function updateLastMessages($setboards, $id_msg = 0)
@@ -1030,7 +1030,7 @@  discard block
 block discarded – undo
1030 1030
  *
1031 1031
  * @package Posts
1032 1032
  *
1033
- * @param int|bool       $editing
1033
+ * @param integer       $editing
1034 1034
  * @param int|null|false $topic
1035 1035
  * @param string         $first_subject
1036 1036
  * @param int            $msg_id
Please login to merge, or discard this patch.
sources/subs/Sound.subs.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
sources/subs/XmlArray.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
 	 * @param string $path - the path to the element to fetch
103 103
 	 * @param bool $get_elements - whether to include elements
104 104
 	 *
105
-	 * @return bool|string
105
+	 * @return false|string
106 106
 	 */
107 107
 	public function fetch($path, $get_elements = false)
108 108
 	{
Please login to merge, or discard this patch.
sources/controllers/Emailpost.controller.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -682,7 +682,7 @@
 block discarded – undo
682 682
  * @param Email_Parse $email_message
683 683
  * @param mixed[] $pbe
684 684
  *
685
- * @return mixed|null|string|string[]
685
+ * @return string
686 686
  */
687 687
 function pbe_load_text(&$html, $email_message, $pbe)
688 688
 {
Please login to merge, or discard this patch.
sources/subs/DataValidator.class.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -293,7 +293,7 @@  discard block
 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
 	 */
@@ -1358,7 +1358,7 @@  discard block
 block discarded – undo
1358 1358
 	 *
1359 1359
 	 * @param string $input
1360 1360
 	 *
1361
-	 * @return null|string|string[]|void
1361
+	 * @return null|string
1362 1362
 	 */
1363 1363
 	protected function _sanitation_cleanhtml($input)
1364 1364
 	{
Please login to merge, or discard this patch.