From 342b62326af8707f63489b7574a36cb47ea5899f Mon Sep 17 00:00:00 2001 From: Emili Castells Guasch Date: Fri, 22 Mar 2024 15:08:38 +0100 Subject: [PATCH] Fix psalm --- modules/ppcp-vaulting/src/WooCommercePaymentTokens.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/ppcp-vaulting/src/WooCommercePaymentTokens.php b/modules/ppcp-vaulting/src/WooCommercePaymentTokens.php index d5cb96ecb..9136f7d85 100644 --- a/modules/ppcp-vaulting/src/WooCommercePaymentTokens.php +++ b/modules/ppcp-vaulting/src/WooCommercePaymentTokens.php @@ -306,6 +306,11 @@ class WooCommercePaymentTokens { } if ( $customer_token['payment_source']->name() === 'card' ) { + /** + * Suppress ArgumentTypeCoercion + * + * @psalm-suppress ArgumentTypeCoercion + */ $this->create_payment_token_card( $user_id, (object) array(