Completed
Push — master ( d329fc...2a1e92 )
by Roy
01:45
created
includes/class-wc-stripe-api.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,6 @@
 block discarded – undo
23 23
 
24 24
 	/**
25 25
 	 * Set secret API Key.
26
-	 * @param string $key
27 26
 	 */
28 27
 	public static function set_secret_key( $secret_key ) {
29 28
 		self::$secret_key = $secret_key;
Please login to merge, or discard this patch.
includes/payment-methods/class-wc-gateway-stripe-alipay.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -289,7 +289,7 @@
 block discarded – undo
289 289
 	 *
290 290
 	 * @param int  $order_id Reference.
291 291
 	 * @param bool $retry Should we retry on fail.
292
-	 * @param bool $force_save_source Force payment source to be saved.
292
+	 * @param bool $force_save_save Force payment source to be saved.
293 293
 	 *
294 294
 	 * @throws Exception If payment will not be accepted.
295 295
 	 *
Please login to merge, or discard this patch.
includes/class-wc-stripe-customer.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -213,7 +213,6 @@
 block discarded – undo
213 213
 	/**
214 214
 	 * Get a customers saved sources using their Stripe ID.
215 215
 	 *
216
-	 * @param  string $customer_id
217 216
 	 * @return array
218 217
 	 */
219 218
 	public function get_sources() {
Please login to merge, or discard this patch.
includes/payment-methods/class-wc-stripe-payment-request.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
 	 * Get this instance.
105 105
 	 *
106 106
 	 * @since 4.0.6
107
-	 * @return class
107
+	 * @return WC_Stripe_Payment_Request
108 108
 	 */
109 109
 	public static function instance() {
110 110
 		return self::$_this;
Please login to merge, or discard this patch.
includes/abstracts/abstract-wc-stripe-payment-gateway.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
 	 * Displays the admin settings webhook description.
16 16
 	 *
17 17
 	 * @since 4.1.0
18
-	 * @return mixed
18
+	 * @return string
19 19
 	 */
20 20
 	public function display_admin_settings_webhook_description() {
21 21
 		/* translators: 1) webhook url */
@@ -579,7 +579,7 @@  discard block
 block discarded – undo
579 579
 	 * Checks if card is 3DS.
580 580
 	 *
581 581
 	 * @since 4.0.4
582
-	 * @param object $source_object
582
+	 * @param stdClass $source_object
583 583
 	 * @return bool
584 584
 	 */
585 585
 	public function is_3ds_card( $source_object ) {
@@ -602,7 +602,7 @@  discard block
 block discarded – undo
602 602
 	 *
603 603
 	 * @since 4.0.8
604 604
 	 * @param string $source_id
605
-	 * @return bool
605
+	 * @return integer
606 606
 	 */
607 607
 	public function is_type_legacy_card( $source_id ) {
608 608
 		return ( preg_match( '/^card_/', $source_id ) );
Please login to merge, or discard this patch.
includes/class-wc-stripe-helper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -227,7 +227,7 @@
 block discarded – undo
227 227
 	/**
228 228
 	 * List of currencies supported by Stripe that has no decimals.
229 229
 	 *
230
-	 * @return array $currencies
230
+	 * @return string[] $currencies
231 231
 	 */
232 232
 	public static function no_decimal_currencies() {
233 233
 		return array(
Please login to merge, or discard this patch.
includes/compat/class-wc-stripe-sepa-subs-compat.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
 	 * @param float $amount
139 139
 	 * @param mixed $renewal_order
140 140
 	 * @param bool $retry Should we retry the process?
141
-	 * @param object $previous_error
141
+	 * @param boolean $previous_error
142 142
 	 */
143 143
 	public function process_subscription_payment( $amount = 0.0, $renewal_order, $retry = true, $previous_error ) {
144 144
 		try {
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
 
242 242
 	/**
243 243
 	 * Don't transfer Stripe fee/ID meta to renewal orders.
244
-	 * @param int $resubscribe_order The order created for the customer to resubscribe to the old expired/cancelled subscription
244
+	 * @param integer $renewal_order
245 245
 	 */
246 246
 	public function delete_renewal_meta( $renewal_order ) {
247 247
 		WC_Stripe_Helper::delete_stripe_fee( $renewal_order );
Please login to merge, or discard this patch.
includes/compat/class-wc-stripe-subs-compat.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
 	 * @param float $amount
139 139
 	 * @param mixed $renewal_order
140 140
 	 * @param bool $retry Should we retry the process?
141
-	 * @param object $previous_error
141
+	 * @param boolean $previous_error
142 142
 	 */
143 143
 	public function process_subscription_payment( $amount = 0.0, $renewal_order, $retry = true, $previous_error ) {
144 144
 		try {
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
 
242 242
 	/**
243 243
 	 * Don't transfer Stripe fee/ID meta to renewal orders.
244
-	 * @param int $resubscribe_order The order created for the customer to resubscribe to the old expired/cancelled subscription
244
+	 * @param integer $renewal_order
245 245
 	 */
246 246
 	public function delete_renewal_meta( $renewal_order ) {
247 247
 		WC_Stripe_Helper::delete_stripe_fee( $renewal_order );
Please login to merge, or discard this patch.