Test Failed
Push — master ( 25adfe...70178c )
by Devin
01:46
created
includes/class-give-db-donors.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
 	 * @since  1.0
162 162
 	 * @access public
163 163
 	 *
164
-	 * @param  bool|string|int $_id_or_email
164
+	 * @param  integer $_id_or_email
165 165
 	 *
166 166
 	 * @return bool|int
167 167
 	 */
@@ -316,7 +316,7 @@  discard block
 block discarded – undo
316 316
 	 * @param  int          $user_id       User ID.
317 317
 	 * @param  WP_User|bool $old_user_data User data.
318 318
 	 *
319
-	 * @return bool
319
+	 * @return false|null
320 320
 	 */
321 321
 	public function update_donor_email_on_user_update( $user_id = 0, $old_user_data = false ) {
322 322
 
@@ -373,7 +373,7 @@  discard block
 block discarded – undo
373 373
 	 * @access public
374 374
 	 *
375 375
 	 * @param  string $field ID or email. Default is 'id'.
376
-	 * @param  mixed  $value The Customer ID or email to search. Default is 0.
376
+	 * @param  integer  $value The Customer ID or email to search. Default is 0.
377 377
 	 *
378 378
 	 * @return mixed         Upon success, an object of the donor. Upon failure, NULL
379 379
 	 */
Please login to merge, or discard this patch.
includes/admin/reports/class-donor-reports-table.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@
 block discarded – undo
143 143
 	 *
144 144
 	 * @access public
145 145
 	 * @since  1.0
146
-	 * @return mixed string If search is present, false otherwise
146
+	 * @return string|false string If search is present, false otherwise
147 147
 	 */
148 148
 	public function get_search() {
149 149
 		return ! empty( $_GET['s'] ) ? urldecode( trim( $_GET['s'] ) ) : false;
Please login to merge, or discard this patch.
includes/admin/admin-filters.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
  *
65 65
  * @param   string $value
66 66
  *
67
- * @return  mixed
67
+ * @return  string
68 68
  */
69 69
 function __give_validate_decimal_separator_setting_field( $value ) {
70 70
 	$thousand_separator = give_clean( $_POST['thousands_separator'] );
Please login to merge, or discard this patch.
includes/admin/tools/import/class-give-import-donations.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -454,7 +454,7 @@  discard block
 block discarded – undo
454 454
 
455 455
 		/**
456 456
 		 * @param $option_value
457
-		 * @param $value
457
+		 * @param boolean $value
458 458
 		 *
459 459
 		 * @return string
460 460
 		 */
@@ -544,7 +544,7 @@  discard block
 block discarded – undo
544 544
 		 *
545 545
 		 * @since 1.8.14
546 546
 		 *
547
-		 * @param $file_id
547
+		 * @param integer $file_id
548 548
 		 *
549 549
 		 * @return bool|int
550 550
 		 */
Please login to merge, or discard this patch.
includes/import-functions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -434,7 +434,6 @@  discard block
 block discarded – undo
434 434
  * Import CSV in DB
435 435
  *
436 436
  * @param int   $file_id CSV id
437
- * @param array $mapto   Map csv to meta key.
438 437
  * @param int   $start   Start from which csv line.
439 438
  * @param int   $end     End from which csv line.
440 439
  */
@@ -663,6 +662,7 @@  discard block
 block discarded – undo
663 662
  * Check if Import donation is duplicate
664 663
  *
665 664
  * @since 1.8.13
665
+ * @param Give_Donate_Form $form
666 666
  */
667 667
 function give_check_import_donation_duplicate( $payment_data, $data, $form, $donor_data ) {
668 668
 	$return = false;
Please login to merge, or discard this patch.
includes/misc-functions.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -858,7 +858,7 @@  discard block
 block discarded – undo
858 858
  *
859 859
  * @todo  Remove this, when WordPress Core ticket is resolved (https://core.trac.wordpress.org/ticket/16828).
860 860
  *
861
- * @return bool
861
+ * @return false|null
862 862
  */
863 863
 function give_donation_metabox_menu() {
864 864
 
@@ -1448,7 +1448,7 @@  discard block
 block discarded – undo
1448 1448
  * @since 1.8.13
1449 1449
  *
1450 1450
  * @param array      $list      List of objects or arrays
1451
- * @param int|string $field     Field from the object to place instead of the entire object
1451
+ * @param string $field     Field from the object to place instead of the entire object
1452 1452
  * @param int|string $index_key Optional. Field from the object to use as keys for the new array.
1453 1453
  *                              Default null.
1454 1454
  *
Please login to merge, or discard this patch.