Test Failed
Push — travis/4010 ( cd7197 )
by Ravinder
12:19
created
includes/admin/misc-functions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
  * @since 1.8.8
92 92
  *
93 93
  * @param string $string
94
- * @param array  $filters
94
+ * @param string[]  $filters
95 95
  *
96 96
  * @return string $string
97 97
  */
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
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
  *
229 229
  * @since 1.8.17
230 230
  *
231
- * @return array|string
231
+ * @return boolean
232 232
  */
233 233
 function give_get_history_session() {
234 234
 	return (bool) Give()->session->get( 'history_access' );
@@ -628,7 +628,7 @@  discard block
 block discarded – undo
628 628
  *
629 629
  * @todo  Remove this, when WordPress Core ticket is resolved (https://core.trac.wordpress.org/ticket/16828).
630 630
  *
631
- * @return bool
631
+ * @return false|null
632 632
  */
633 633
 function give_donation_metabox_menu() {
634 634
 
@@ -937,7 +937,7 @@  discard block
 block discarded – undo
937 937
  *
938 938
  * @since 1.8
939 939
  *
940
- * @param $form_id
940
+ * @param integer $form_id
941 941
  *
942 942
  * @return bool
943 943
  */
@@ -1062,7 +1062,7 @@  discard block
 block discarded – undo
1062 1062
  * @param int    $id
1063 1063
  * @param string $meta_key
1064 1064
  * @param mixed  $meta_value
1065
- * @param mixed  $prev_value
1065
+ * @param string  $prev_value
1066 1066
  * @param string  $meta_type
1067 1067
  *
1068 1068
  * @return mixed
@@ -1353,7 +1353,7 @@  discard block
 block discarded – undo
1353 1353
  * @since 1.8.13
1354 1354
  *
1355 1355
  * @param array      $list      List of objects or arrays
1356
- * @param int|string $field     Field from the object to place instead of the entire object
1356
+ * @param string $field     Field from the object to place instead of the entire object
1357 1357
  * @param int|string $index_key Optional. Field from the object to use as keys for the new array.
1358 1358
  *                              Default null.
1359 1359
  *
@@ -1791,7 +1791,7 @@  discard block
 block discarded – undo
1791 1791
  *
1792 1792
  * @since 2.1
1793 1793
  *
1794
- * @param $form_id
1794
+ * @param integer $form_id
1795 1795
  *
1796 1796
  * @return bool
1797 1797
  */
@@ -2365,7 +2365,7 @@  discard block
 block discarded – undo
2365 2365
  *
2366 2366
  * @since 2.4.1
2367 2367
  *
2368
- * @return bool|mixed
2368
+ * @return string|null
2369 2369
  */
2370 2370
 function give_display_donation_receipt( $args ) {
2371 2371
 
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-gateway.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 		 * @since  2.5.0
70 70
 		 * @access public
71 71
 		 *
72
-		 * @return bool|void
72
+		 * @return false|null
73 73
 		 */
74 74
 		public function __construct() {
75 75
 
@@ -469,7 +469,7 @@  discard block
 block discarded – undo
469 469
 		 *
470 470
 		 * @param float $amount Donation amount.
471 471
 		 *
472
-		 * @return mixed
472
+		 * @return double
473 473
 		 */
474 474
 		public function format_amount( $amount ) {
475 475
 
Please login to merge, or discard this patch.
includes/gateways/stripe/includes/give-stripe-helpers.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
  *
21 21
  * @since 2.5.0
22 22
  *
23
- * @return void
23
+ * @return string
24 24
  */
25 25
 function give_stripe_get_secret_key() {
26 26
 
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
  *
131 131
  * @since 2.5.0
132 132
  *
133
- * @return void
133
+ * @return string
134 134
  */
135 135
 function give_stripe_connect_button() {
136 136
 
@@ -552,7 +552,7 @@  discard block
 block discarded – undo
552 552
  * @param integer $donation_or_post_id Donation or wp post id.
553 553
  * @param bool    $check_enabled       Check if sequential-ordering_status is activated or not.
554 554
  *
555
- * @return bool|string
555
+ * @return false|string
556 556
  */
557 557
 function give_stripe_get_sequential_id( $donation_or_post_id, $check_enabled = true ) {
558 558
 	// Check if enabled.
@@ -724,7 +724,7 @@  discard block
 block discarded – undo
724 724
  *
725 725
  * @since 2.5.0
726 726
  *
727
- * @return void
727
+ * @return integer
728 728
  */
729 729
 function give_stripe_get_donation_id_by( $id, $type ) {
730 730
 
Please login to merge, or discard this patch.