Completed
Pull Request — development (#3098)
by John
09:23
created
sources/subs/PersonalMessage.subs.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -349,7 +349,7 @@
 block discarded – undo
349 349
  * Mark the specified personal messages as unread.
350 350
  *
351 351
  * @package PersonalMessage
352
- * @param int|int[] $personal_messages
352
+ * @param integer $personal_messages
353 353
  */
354 354
 function markMessagesUnread($personal_messages)
355 355
 {
Please login to merge, or discard this patch.
sources/modules/Drafts/DraftsPostModule.class.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -267,8 +267,8 @@
 block discarded – undo
267 267
 	 * - Will load a draft if selected is supplied via post
268 268
 	 *
269 269
 	 * @param int $member_id
270
-	 * @param int|bool $id_topic if set, load drafts for the specified topic
271
-	 * @return false|null
270
+	 * @param integer $id_topic if set, load drafts for the specified topic
271
+	 * @return boolean
272 272
 	 */
273 273
 	protected function _prepareDraftsContext($member_id, $id_topic = false)
274 274
 	{
Please login to merge, or discard this patch.
sources/admin/Reports.controller.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -740,7 +740,7 @@
 block discarded – undo
740 740
  * @param mixed[] $inc_data
741 741
  * @param int|null $custom_table = null
742 742
  *
743
- * @return bool
743
+ * @return false|null
744 744
  */
745 745
 function addData($inc_data, $custom_table = null)
746 746
 {
Please login to merge, or discard this patch.
sources/controllers/Mentions.controller.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -378,7 +378,7 @@
 block discarded – undo
378 378
 	 * @param bool $all : if true load all the mentions or type, otherwise only the unread
379 379
 	 * @param string $type : the type of mention
380 380
 	 *
381
-	 * @return array
381
+	 * @return integer
382 382
 	 */
383 383
 	public function list_loadMentions($start, $limit, $sort, $all, $type)
384 384
 	{
Please login to merge, or discard this patch.
sources/controllers/ProfileOptions.controller.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -521,7 +521,7 @@
 block discarded – undo
521 521
 	 *
522 522
 	 * @param bool $saving = false
523 523
 	 *
524
-	 * @return bool
524
+	 * @return boolean|null
525 525
 	 * @throws Elk_Exception
526 526
 	 */
527 527
 	public function action_authentication($saving = false)
Please login to merge, or discard this patch.
sources/CurlFetchWebdata.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
 	 * - Calls _setOptions to set the curl opts array values based on the defaults and user input
123 123
 	 *
124 124
 	 * @param string $url the site we are going to fetch
125
-	 * @param mixed[]|string $post_data data to send in the curl request as post data
125
+	 * @param string $post_data data to send in the curl request as post data
126 126
 	 *
127 127
 	 * @return Curl_Fetch_Webdata
128 128
 	 */
Please login to merge, or discard this patch.
sources/Security.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
  * @param string $message = ''
175 175
  * @param boolean $is_fatal = true
176 176
  *
177
- * @return bool
177
+ * @return boolean|null
178 178
  * @throws Elk_Exception
179 179
  */
180 180
 function is_not_guest($message = '', $is_fatal = true)
@@ -985,7 +985,7 @@  discard block
 block discarded – undo
985 985
  * @param string $action
986 986
  * @param bool   $is_fatal = true
987 987
  *
988
- * @return bool
988
+ * @return null|boolean
989 989
  * @throws Elk_Exception error_form_already_submitted
990 990
  */
991 991
 function checkSubmitOnce($action, $is_fatal = false)
Please login to merge, or discard this patch.
sources/subs/Auth.subs.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@
 block discarded – undo
134 134
  * @param bool $local
135 135
  * @param bool $global
136 136
  *
137
- * @return array
137
+ * @return string
138 138
  */
139 139
 function url_parts($local, $global)
140 140
 {
Please login to merge, or discard this patch.
sources/subs/Bans.subs.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -235,7 +235,7 @@
 block discarded – undo
235 235
  *
236 236
  * @param mixed[] $triggers
237 237
  *
238
- * @return array
238
+ * @return integer
239 239
  */
240 240
 function validateTriggers(&$triggers)
241 241
 {
Please login to merge, or discard this patch.