Completed
Push — issue-3330 ( 5da1c8 )
by Ravinder
1429:31 queued 1423:35
created
includes/import-functions.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -555,10 +555,10 @@  discard block
 block discarded – undo
555 555
  *
556 556
  * @since 2.1
557 557
  *
558
- * @param $file_dir
559
- * @param $start
560
- * @param $end
561
- * @param $delimiter
558
+ * @param false|string $file_dir
559
+ * @param integer $start
560
+ * @param integer $end
561
+ * @param string $delimiter
562 562
  *
563 563
  * @return array
564 564
  */
@@ -584,7 +584,7 @@  discard block
 block discarded – undo
584 584
  *
585 585
  * @since 2.1
586 586
  *
587
- * @param $file_id
587
+ * @param integer $file_id
588 588
  *
589 589
  * @return false|string file content
590 590
  */
Please login to merge, or discard this patch.
includes/payments/class-give-sequential-donation-number.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@
 block discarded – undo
197 197
 	 * @since
198 198
 	 * @access public
199 199
 	 *
200
-	 * @param $serial_number
200
+	 * @param integer $serial_number
201 201
 	 *
202 202
 	 * @return string
203 203
 	 */
Please login to merge, or discard this patch.
includes/payments/functions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -569,7 +569,7 @@
 block discarded – undo
569 569
  *
570 570
  * @since 1.0
571 571
  *
572
- * @return int $earnings Earnings
572
+ * @return double $earnings Earnings
573 573
  */
574 574
 function give_get_earnings_by_date( $day = null, $month_num, $year = null, $hour = null ) {
575 575
 	// This is getting deprecated soon. Use Give_Payment_Stats with the get_earnings() method instead.
Please login to merge, or discard this patch.
includes/forms/functions.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
  *
156 156
  * Used to redirect a user back to the donation form if there are errors present.
157 157
  *
158
- * @param array|string $args
158
+ * @param string $args
159 159
  *
160 160
  * @access public
161 161
  * @since  1.0
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
  * @since  1.0
302 302
  * @since  1.8.16 Add security check
303 303
  *
304
- * @return bool
304
+ * @return false|null
305 305
  */
306 306
 function give_listen_for_failed_payments() {
307 307
 
Please login to merge, or discard this patch.
includes/misc-functions.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
  *
229 229
  * @since 1.8.17
230 230
  *
231
- * @return array|string
231
+ * @return boolean
232 232
  */
233 233
 function give_get_history_session() {
234 234
 	return (bool) Give()->session->get( 'history_access' );
@@ -711,7 +711,7 @@  discard block
 block discarded – undo
711 711
  *
712 712
  * @todo  Remove this, when WordPress Core ticket is resolved (https://core.trac.wordpress.org/ticket/16828).
713 713
  *
714
- * @return bool
714
+ * @return false|null
715 715
  */
716 716
 function give_donation_metabox_menu() {
717 717
 
@@ -1006,7 +1006,7 @@  discard block
 block discarded – undo
1006 1006
  *
1007 1007
  * @since 1.8
1008 1008
  *
1009
- * @param $form_id
1009
+ * @param integer $form_id
1010 1010
  *
1011 1011
  * @return bool
1012 1012
  */
@@ -1125,7 +1125,7 @@  discard block
 block discarded – undo
1125 1125
  * @param int    $id
1126 1126
  * @param string $meta_key
1127 1127
  * @param mixed  $meta_value
1128
- * @param mixed  $prev_value
1128
+ * @param string  $prev_value
1129 1129
  *
1130 1130
  * @return mixed
1131 1131
  */
@@ -1386,7 +1386,7 @@  discard block
 block discarded – undo
1386 1386
  * @since 1.8.13
1387 1387
  *
1388 1388
  * @param array      $list      List of objects or arrays
1389
- * @param int|string $field     Field from the object to place instead of the entire object
1389
+ * @param string $field     Field from the object to place instead of the entire object
1390 1390
  * @param int|string $index_key Optional. Field from the object to use as keys for the new array.
1391 1391
  *                              Default null.
1392 1392
  *
@@ -1813,7 +1813,7 @@  discard block
 block discarded – undo
1813 1813
  *
1814 1814
  * @since 2.1.0
1815 1815
  *
1816
- * @param $form_id
1816
+ * @param integer $form_id
1817 1817
  *
1818 1818
  * @return bool
1819 1819
  */
Please login to merge, or discard this patch.
includes/process-donation.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
  * @throws ReflectionException Exception Handling.
26 26
  *
27
- * @return mixed
27
+ * @return false|null
28 28
  */
29 29
 function give_process_donation_form() {
30 30
 
@@ -1328,7 +1328,7 @@  discard block
 block discarded – undo
1328 1328
  *
1329 1329
  * @param array $valid_data List of Valid Data.
1330 1330
  *
1331
- * @return bool
1331
+ * @return boolean|null
1332 1332
  */
1333 1333
 function give_validate_donation_amount( $valid_data ) {
1334 1334
 
Please login to merge, or discard this patch.