Test Failed
Push — master ( 36b0ed...c8da5c )
by Devin
09:29 queued 10s
created
includes/payments/functions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -572,7 +572,7 @@
 block discarded – undo
572 572
  *
573 573
  * @since 1.0
574 574
  *
575
- * @return int $earnings Earnings
575
+ * @return double $earnings Earnings
576 576
  */
577 577
 function give_get_earnings_by_date( $day = null, $month_num, $year = null, $hour = null ) {
578 578
 	// This is getting deprecated soon. Use Give_Payment_Stats with the get_earnings() method instead.
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
 
@@ -1366,7 +1366,7 @@  discard block
 block discarded – undo
1366 1366
  *
1367 1367
  * @param array $valid_data List of Valid Data.
1368 1368
  *
1369
- * @return bool
1369
+ * @return boolean|null
1370 1370
  */
1371 1371
 function give_validate_donation_amount( $valid_data ) {
1372 1372
 
Please login to merge, or discard this patch.
includes/shortcodes.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -791,7 +791,7 @@
 block discarded – undo
791 791
  * @type string $display_style       How the form is displayed, either in new page or modal popup.
792 792
  *                                       Default 'redirect'. Accepts 'redirect', 'modal'.
793 793
  * }
794
- * @return string|bool The markup of the form grid or false.
794
+ * @return string|null The markup of the form grid or false.
795 795
  */
796 796
 function give_form_grid_shortcode( $atts ) {
797 797
 
Please login to merge, or discard this patch.
includes/admin/tools/import/class-give-import-donations.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -546,7 +546,7 @@
 block discarded – undo
546 546
 
547 547
 		/**
548 548
 		 * @param $option_value
549
-		 * @param $value
549
+		 * @param boolean $value
550 550
 		 *
551 551
 		 * @return string
552 552
 		 */
Please login to merge, or discard this patch.
includes/admin/import-functions.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -581,10 +581,10 @@  discard block
 block discarded – undo
581 581
  *
582 582
  * @since 2.1
583 583
  *
584
- * @param $file_dir
585
- * @param $start
586
- * @param $end
587
- * @param $delimiter
584
+ * @param false|string $file_dir
585
+ * @param integer $start
586
+ * @param integer $end
587
+ * @param string $delimiter
588 588
  *
589 589
  * @return array
590 590
  */
@@ -610,7 +610,7 @@  discard block
 block discarded – undo
610 610
  *
611 611
  * @since 2.1
612 612
  *
613
- * @param $file_id
613
+ * @param integer $file_id
614 614
  *
615 615
  * @return false|string file content
616 616
  */
Please login to merge, or discard this patch.
includes/donors/class-give-donors-query.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -640,7 +640,7 @@
 block discarded – undo
640 640
 	 * @since  2.4.0
641 641
 	 * @access public
642 642
 	 *
643
-	 * @param $query_var
643
+	 * @param string $query_var
644 644
 	 * @param $value
645 645
 	 */
646 646
 	public function __set( $query_var, $value ) {
Please login to merge, or discard this patch.
includes/misc-functions.php 1 patch
Doc Comments   +7 added lines, -7 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' );
@@ -704,7 +704,7 @@  discard block
 block discarded – undo
704 704
  *
705 705
  * @todo  Remove this, when WordPress Core ticket is resolved (https://core.trac.wordpress.org/ticket/16828).
706 706
  *
707
- * @return bool
707
+ * @return false|null
708 708
  */
709 709
 function give_donation_metabox_menu() {
710 710
 
@@ -1010,7 +1010,7 @@  discard block
 block discarded – undo
1010 1010
  *
1011 1011
  * @since 1.8
1012 1012
  *
1013
- * @param $form_id
1013
+ * @param integer $form_id
1014 1014
  *
1015 1015
  * @return bool
1016 1016
  */
@@ -1117,7 +1117,7 @@  discard block
 block discarded – undo
1117 1117
  * @param int    $id
1118 1118
  * @param string $meta_key
1119 1119
  * @param mixed  $meta_value
1120
- * @param mixed  $prev_value
1120
+ * @param string  $prev_value
1121 1121
  *
1122 1122
  * @return mixed
1123 1123
  */
@@ -1376,7 +1376,7 @@  discard block
 block discarded – undo
1376 1376
  * @since 1.8.13
1377 1377
  *
1378 1378
  * @param array      $list      List of objects or arrays
1379
- * @param int|string $field     Field from the object to place instead of the entire object
1379
+ * @param string $field     Field from the object to place instead of the entire object
1380 1380
  * @param int|string $index_key Optional. Field from the object to use as keys for the new array.
1381 1381
  *                              Default null.
1382 1382
  *
@@ -1814,7 +1814,7 @@  discard block
 block discarded – undo
1814 1814
  *
1815 1815
  * @since 2.1
1816 1816
  *
1817
- * @param $form_id
1817
+ * @param integer $form_id
1818 1818
  *
1819 1819
  * @return bool
1820 1820
  */
@@ -2387,7 +2387,7 @@  discard block
 block discarded – undo
2387 2387
  *
2388 2388
  * @since 2.4.1
2389 2389
  *
2390
- * @return bool|mixed
2390
+ * @return string|null
2391 2391
  */
2392 2392
 function give_display_donation_receipt( $args ) {
2393 2393
 	
Please login to merge, or discard this patch.
includes/formatting.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -674,7 +674,7 @@
 block discarded – undo
674 674
  *
675 675
  * @since 1.8
676 676
  *
677
- * @param $size
677
+ * @param string $size
678 678
  *
679 679
  * @return int
680 680
  */
Please login to merge, or discard this patch.