Test Failed
Push — master ( dab9be...86623b )
by Devin
05:07
created
includes/forms/template.php 1 patch
Doc Comments   +7 added lines, -8 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
  *
20 20
  * @param array $args An array of form arguments.
21 21
  *
22
- * @return string Donation form.
22
+ * @return false|null Donation form.
23 23
  * @since 1.0
24 24
  *
25 25
  */
@@ -1736,7 +1736,7 @@  discard block
 block discarded – undo
1736 1736
  *
1737 1737
  * @param int $form_id The form ID.
1738 1738
  *
1739
- * @return bool
1739
+ * @return false|null
1740 1740
  * @since  1.0
1741 1741
  *
1742 1742
  */
@@ -1945,7 +1945,7 @@  discard block
 block discarded – undo
1945 1945
  * @param int   $form_id The form ID.
1946 1946
  * @param array $args    An array of form arguments.
1947 1947
  *
1948
- * @return mixed
1948
+ * @return boolean
1949 1949
  * @since        1.6   Add template for Give Goals Shortcode.
1950 1950
  *               More info is on https://github.com/impress-org/give/issues/411
1951 1951
  *
@@ -1979,7 +1979,7 @@  discard block
 block discarded – undo
1979 1979
  * @param int $total      Total amount based on shortcode parameter.
1980 1980
  * @param int $total_goal Total Goal amount passed by Admin.
1981 1981
  *
1982
- * @return mixed
1982
+ * @return boolean
1983 1983
  * @since  2.1
1984 1984
  *
1985 1985
  */
@@ -2008,7 +2008,7 @@  discard block
 block discarded – undo
2008 2008
 /**
2009 2009
  * Get form content position.
2010 2010
  *
2011
- * @param  $form_id
2011
+ * @param  integer $form_id
2012 2012
  * @param  $args
2013 2013
  *
2014 2014
  * @return mixed|string
@@ -2046,7 +2046,7 @@  discard block
 block discarded – undo
2046 2046
  * @param int   $form_id The form ID.
2047 2047
  * @param array $args    An array of form arguments.
2048 2048
  *
2049
- * @return void|bool
2049
+ * @return false|null
2050 2050
  * @since  1.0
2051 2051
  *
2052 2052
  */
@@ -2376,7 +2376,7 @@  discard block
 block discarded – undo
2376 2376
  * @param int   $id    ID of the form.
2377 2377
  * @param array $args  Additional args.
2378 2378
  *
2379
- * @return array
2379
+ * @return string[]
2380 2380
  * @since 2.1
2381 2381
  *
2382 2382
  */
@@ -2395,7 +2395,6 @@  discard block
 block discarded – undo
2395 2395
 /**
2396 2396
  * Add hidden field to Form Grid page
2397 2397
  *
2398
- * @param int              $form_id The form ID.
2399 2398
  * @param array            $args    An array of form arguments.
2400 2399
  * @param Give_Donate_Form $form    Form object.
2401 2400
  *
Please login to merge, or discard this patch.
includes/gateways/stripe/includes/give-stripe-helpers.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -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.
@@ -1172,7 +1172,7 @@  discard block
 block discarded – undo
1172 1172
  *
1173 1173
  * @since  2.5.0
1174 1174
  *
1175
- * @return string
1175
+ * @return double
1176 1176
  */
1177 1177
 function give_stripe_dollars_to_cents( $dollars ) {
1178 1178
 	return round( $dollars, give_currency_decimal_filter() ) * 100;
@@ -1187,7 +1187,7 @@  discard block
 block discarded – undo
1187 1187
  *
1188 1188
  * @since 2.5.4
1189 1189
  *
1190
- * @return mixed
1190
+ * @return double
1191 1191
  */
1192 1192
 function give_stripe_format_amount( $amount ) {
1193 1193
 
Please login to merge, or discard this patch.
gateways/stripe/includes/payment-methods/class-give-stripe-card.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
 		 * @since  2.5.0
137 137
 		 * @access public
138 138
 		 *
139
-		 * @return void
139
+		 * @return null|false
140 140
 		 */
141 141
 		public function process_payment( $donation_data ) {
142 142
 
Please login to merge, or discard this patch.