Test Failed
Push — master ( 315839...9b266f )
by Devin
05:39
created
includes/admin/admin-actions.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 /**
39 39
  * Redirect admin to clean url give admin pages.
40 40
  *
41
- * @return bool
41
+ * @return false|null
42 42
  * @since 1.8
43 43
  *
44 44
  */
@@ -1140,7 +1140,7 @@  discard block
 block discarded – undo
1140 1140
  * @param int $user_id
1141 1141
  *
1142 1142
  * @access public
1143
- * @return bool
1143
+ * @return false|null
1144 1144
  * @since  2.0
1145 1145
  *
1146 1146
  */
@@ -1183,7 +1183,7 @@  discard block
 block discarded – undo
1183 1183
  * @param int          $user_id       User ID.
1184 1184
  * @param WP_User|bool $old_user_data User data.
1185 1185
  *
1186
- * @return bool
1186
+ * @return false|null
1187 1187
  * @since  1.4.3
1188 1188
  * @access public
1189 1189
  *
Please login to merge, or discard this patch.
includes/admin/emails/class-donor-register-email.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
 		 * @param string                    $email_preview_header
125 125
 		 * @param Give_Donor_Register_Email $email
126 126
 		 *
127
-		 * @return bool
127
+		 * @return string|null
128 128
 		 * @since  2.0
129 129
 		 * @access public
130 130
 		 */
Please login to merge, or discard this patch.
includes/class-give-license-handler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -349,7 +349,7 @@
 block discarded – undo
349 349
 		 * @param array $api_params
350 350
 		 * @param bool  $response_in_array
351 351
 		 *
352
-		 * @return array|WP_Error
352
+		 * @return string
353 353
 		 * @since  1.8.9
354 354
 		 * @access public
355 355
 		 */
Please login to merge, or discard this patch.
includes/forms/functions.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -312,7 +312,7 @@  discard block
 block discarded – undo
312 312
  * @since  1.0
313 313
  * @since  1.8.16 Add security check
314 314
  *
315
- * @return bool
315
+ * @return false|null
316 316
  */
317 317
 function give_listen_for_failed_payments() {
318 318
 
@@ -1343,7 +1343,7 @@  discard block
 block discarded – undo
1343 1343
  * @since 2.2.0
1344 1344
  *
1345 1345
  * @param array|integer   $price_or_level_id Price level data.
1346
- * @param boolean|integer $form_id           Donation Form ID.
1346
+ * @param integer $form_id           Donation Form ID.
1347 1347
  *
1348 1348
  * @return boolean
1349 1349
  */
@@ -1447,7 +1447,7 @@  discard block
 block discarded – undo
1447 1447
  *
1448 1448
  * @since 2.2.0
1449 1449
  *
1450
- * @return object
1450
+ * @return Give_Donor
1451 1451
  */
1452 1452
 function give_get_name_with_title_prefixes( $donor ) {
1453 1453
 
@@ -1492,7 +1492,7 @@  discard block
 block discarded – undo
1492 1492
  *
1493 1493
  * @since 2.2.0
1494 1494
  *
1495
- * @return array
1495
+ * @return string|boolean
1496 1496
  */
1497 1497
 function give_get_default_title_prefixes() {
1498 1498
 	/**
Please login to merge, or discard this patch.
includes/gateways/functions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
  *
80 80
  * @since 1.0
81 81
  *
82
- * @param  $form_id      int ID of the Give Form
82
+ * @param  null|integer $form_id      int ID of the Give Form
83 83
  *
84 84
  * @return string Gateway ID
85 85
  */
Please login to merge, or discard this patch.
includes/gateways/paypal-standard.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -598,7 +598,7 @@
 block discarded – undo
598 598
  * @param int   $payment_id   Payment ID
599 599
  * @param array $payment_data Array of payment data.
600 600
  *
601
- * @return mixed|string
601
+ * @return string
602 602
  */
603 603
 function give_build_paypal_url( $payment_id, $payment_data ) {
604 604
 	// Only send to PayPal if the pending payment is created successfully.
Please login to merge, or discard this patch.
includes/gateways/stripe/includes/admin/admin-actions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
  *
21 21
  * @since 2.5.0
22 22
  *
23
- * @return void
23
+ * @return false|null
24 24
  */
25 25
 function give_stripe_connect_save_options() {
26 26
 
Please login to merge, or discard this patch.
includes/gateways/stripe/includes/class-give-stripe-customer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -327,7 +327,7 @@
 block discarded – undo
327 327
 	 * @since  2.1
328 328
 	 * @access public
329 329
 	 *
330
-	 * @return void
330
+	 * @return false|null
331 331
 	 */
332 332
 	public function attach_source() {
333 333
 
Please login to merge, or discard this patch.
includes/gateways/stripe/includes/class-give-stripe-gateway.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -432,7 +432,7 @@
 block discarded – undo
432 432
 		 *
433 433
 		 * @param float $amount Donation amount.
434 434
 		 *
435
-		 * @return mixed
435
+		 * @return double
436 436
 		 */
437 437
 		public function format_amount( $amount ) {
438 438
 
Please login to merge, or discard this patch.