Test Failed
Push — hotfix/license ( b489e1 )
by Ravinder
05:03
created
includes/class-give-db-donors.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
 	 * @since  1.0
159 159
 	 * @access public
160 160
 	 *
161
-	 * @param  bool|string|int $_id_or_email
161
+	 * @param  integer $_id_or_email
162 162
 	 *
163 163
 	 * @return bool|int
164 164
 	 */
@@ -313,7 +313,7 @@  discard block
 block discarded – undo
313 313
 	 * @param  int          $user_id       User ID.
314 314
 	 * @param  WP_User|bool $old_user_data User data.
315 315
 	 *
316
-	 * @return bool
316
+	 * @return false|null
317 317
 	 */
318 318
 	public function update_donor_email_on_user_update( $user_id = 0, $old_user_data = false ) {
319 319
 
@@ -370,7 +370,7 @@  discard block
 block discarded – undo
370 370
 	 * @access public
371 371
 	 *
372 372
 	 * @param  string $field ID or email. Default is 'id'.
373
-	 * @param  mixed  $value The Customer ID or email to search. Default is 0.
373
+	 * @param  integer  $value The Customer ID or email to search. Default is 0.
374 374
 	 *
375 375
 	 * @return mixed         Upon success, an object of the donor. Upon failure, NULL
376 376
 	 */
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
@@ -157,7 +157,7 @@
 block discarded – undo
157 157
 	 *
158 158
 	 * @access public
159 159
 	 * @since  1.0
160
-	 * @return mixed string If search is present, false otherwise
160
+	 * @return string|false string If search is present, false otherwise
161 161
 	 */
162 162
 	public function get_search() {
163 163
 		return ! empty( $_GET['s'] ) ? urldecode( trim( $_GET['s'] ) ) : false;
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
@@ -452,7 +452,7 @@  discard block
 block discarded – undo
452 452
 
453 453
 		/**
454 454
 		 * @param $option_value
455
-		 * @param $value
455
+		 * @param boolean $value
456 456
 		 *
457 457
 		 * @return string
458 458
 		 */
@@ -529,7 +529,7 @@  discard block
 block discarded – undo
529 529
 		 *
530 530
 		 * @since 1.8.14
531 531
 		 *
532
-		 * @param $file_id
532
+		 * @param integer $file_id
533 533
 		 *
534 534
 		 * @return bool|int
535 535
 		 */
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
@@ -423,7 +423,6 @@  discard block
 block discarded – undo
423 423
  * Import CSV in DB
424 424
  *
425 425
  * @param int   $file_id CSV id
426
- * @param array $mapto   Map csv to meta key.
427 426
  * @param int   $start   Start from which csv line.
428 427
  * @param int   $end     End from which csv line.
429 428
  */
@@ -641,6 +640,7 @@  discard block
 block discarded – undo
641 640
  * Check if Import donation is duplicate
642 641
  *
643 642
  * @since 1.8.13
643
+ * @param Give_Donate_Form $form
644 644
  */
645 645
 function give_check_import_donation_duplicate( $payment_data, $data, $form, $donor_data ) {
646 646
 	$return = 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/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.