Test Failed
Push — issues/2296 ( 5e68bb )
by Ravinder
04:16
created
includes/admin/donors/donor-functions.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
 /**
89 89
  * Connect and Reconnect Donor with User profile.
90 90
  *
91
- * @param object $donor      Donor Object.
91
+ * @param Give_Donor $donor      Donor Object.
92 92
  * @param array  $donor_data Donor Post Variables.
93 93
  * @param array  $address    Address Information.
94 94
  *
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
  *
175 175
  * @since 1.8.17
176 176
  *
177
- * @return bool
177
+ * @return false|null
178 178
  */
179 179
 function give_delete_bulk_donors( $donor_id, $args ) {
180 180
 	$donor_edit_role = apply_filters( 'give_edit_donors_role', 'edit_give_payments' );
Please login to merge, or discard this patch.
includes/forms/functions.php 1 patch
Doc Comments   +3 added lines, -3 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 $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
 
@@ -741,7 +741,7 @@  discard block
 block discarded – undo
741 741
  *
742 742
  * @param int $form_id ID number of the form to retrieve the minimum price for
743 743
  *
744
- * @return mixed string|int Minimum price of the form
744
+ * @return string string|int Minimum price of the form
745 745
  */
746 746
 function give_get_form_minimum_price( $form_id = 0 ) {
747 747
 
Please login to merge, or discard this patch.
includes/forms/template.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
  *
22 22
  * @param  array $args An array of form arguments.
23 23
  *
24
- * @return string Donation form.
24
+ * @return false|null Donation form.
25 25
  */
26 26
 function give_get_donation_form( $args = array() ) {
27 27
 
@@ -1490,7 +1490,7 @@  discard block
 block discarded – undo
1490 1490
  *
1491 1491
  * @param  int $form_id The form ID.
1492 1492
  *
1493
- * @return bool
1493
+ * @return false|null
1494 1494
  */
1495 1495
 function give_terms_agreement( $form_id ) {
1496 1496
 	$form_option = give_get_meta( $form_id, '_give_terms_option', TRUE );
@@ -1668,7 +1668,7 @@  discard block
 block discarded – undo
1668 1668
  * @param  int $form_id The form ID.
1669 1669
  * @param  array $args An array of form arguments.
1670 1670
  *
1671
- * @return mixed
1671
+ * @return boolean
1672 1672
  */
1673 1673
 function give_show_goal_progress( $form_id, $args ) {
1674 1674
 
@@ -1688,7 +1688,7 @@  discard block
 block discarded – undo
1688 1688
  *
1689 1689
  * @since  1.8
1690 1690
  *
1691
- * @param  $form_id
1691
+ * @param  integer $form_id
1692 1692
  * @param  $args
1693 1693
  *
1694 1694
  * @return mixed|string
@@ -1729,7 +1729,7 @@  discard block
 block discarded – undo
1729 1729
  * @param  int $form_id The form ID.
1730 1730
  * @param  array $args An array of form arguments.
1731 1731
  *
1732
- * @return void|bool
1732
+ * @return false|null
1733 1733
  */
1734 1734
 function give_form_content( $form_id, $args ) {
1735 1735
 
Please login to merge, or discard this patch.