Test Failed
Push — refactor/update-form-theme-pro... ( 8b073f )
by Ravinder
17:12 queued 12:40
created
includes/donors/class-give-donors-query.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -638,7 +638,7 @@
 block discarded – undo
638 638
 	 * @since  2.4.0
639 639
 	 * @access public
640 640
 	 *
641
-	 * @param $query_var
641
+	 * @param string $query_var
642 642
 	 * @param $value
643 643
 	 */
644 644
 	public function __set( $query_var, $value ) {
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.
includes/forms/functions.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -302,7 +302,7 @@  discard block
 block discarded – undo
302 302
  * @since  1.0
303 303
  * @since  1.8.16 Add security check
304 304
  *
305
- * @return bool
305
+ * @return false|null
306 306
  */
307 307
 function give_listen_for_failed_payments() {
308 308
 
@@ -1333,7 +1333,7 @@  discard block
 block discarded – undo
1333 1333
  * @since 2.2.0
1334 1334
  *
1335 1335
  * @param array|integer   $price_or_level_id Price level data.
1336
- * @param boolean|integer $form_id           Donation Form ID.
1336
+ * @param integer $form_id           Donation Form ID.
1337 1337
  *
1338 1338
  * @return boolean
1339 1339
  */
@@ -1437,7 +1437,7 @@  discard block
 block discarded – undo
1437 1437
  *
1438 1438
  * @since 2.2.0
1439 1439
  *
1440
- * @return object
1440
+ * @return Give_Donor
1441 1441
  */
1442 1442
 function give_get_name_with_title_prefixes( $donor ) {
1443 1443
 
@@ -1482,7 +1482,7 @@  discard block
 block discarded – undo
1482 1482
  *
1483 1483
  * @since 2.2.0
1484 1484
  *
1485
- * @return array
1485
+ * @return string|boolean
1486 1486
  */
1487 1487
 function give_get_default_title_prefixes() {
1488 1488
 	/**
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/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/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.
includes/misc-functions.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
 /**
224 224
  * Retrieve Payment Key of the History Access Session.
225 225
  *
226
- * @return array|string
226
+ * @return boolean
227 227
  * @since 1.8.17
228 228
  */
229 229
 function give_get_history_session() {
@@ -520,7 +520,7 @@  discard block
 block discarded – undo
520 520
 /**
521 521
  * Show Donation Forms Post Type in Appearance > Menus by default on fresh install.
522 522
  *
523
- * @return bool
523
+ * @return false|null
524 524
  * @todo  Remove this, when WordPress Core ticket is resolved (https://core.trac.wordpress.org/ticket/16828).
525 525
  *
526 526
  * @since 1.8.14
@@ -836,7 +836,7 @@  discard block
 block discarded – undo
836 836
 /**
837 837
  * Check if terms enabled or not for form.
838 838
  *
839
- * @param $form_id
839
+ * @param integer $form_id
840 840
  *
841 841
  * @return bool
842 842
  * @since 1.8
@@ -958,7 +958,7 @@  discard block
 block discarded – undo
958 958
  * @param int    $id
959 959
  * @param string $meta_key
960 960
  * @param mixed  $meta_value
961
- * @param mixed  $prev_value
961
+ * @param string  $prev_value
962 962
  * @param string $meta_type
963 963
  *
964 964
  * @return mixed
@@ -1245,7 +1245,7 @@  discard block
 block discarded – undo
1245 1245
  * array_column() (PHP 5.5) but also supports objects.
1246 1246
  *
1247 1247
  * @param array      $list      List of objects or arrays
1248
- * @param int|string $field     Field from the object to place instead of the entire object
1248
+ * @param string $field     Field from the object to place instead of the entire object
1249 1249
  * @param int|string $index_key Optional. Field from the object to use as keys for the new array.
1250 1250
  *                              Default null.
1251 1251
  *
@@ -2195,7 +2195,7 @@  discard block
 block discarded – undo
2195 2195
  *
2196 2196
  * @param $args
2197 2197
  *
2198
- * @return bool|mixed
2198
+ * @return string|null
2199 2199
  * @since 2.4.1
2200 2200
  */
2201 2201
 function give_display_donation_receipt( $args ) {
@@ -2298,7 +2298,7 @@  discard block
 block discarded – undo
2298 2298
  * @param      $plugin_slug
2299 2299
  * @param bool        $by_plugin_name
2300 2300
  *
2301
- * @return mixed|void
2301
+ * @return string
2302 2302
  * @since 2.5.0
2303 2303
  */
2304 2304
 function give_get_addon_readme_url( $plugin_slug, $by_plugin_name = false ) {
Please login to merge, or discard this patch.