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(