Fix psalm

This commit is contained in:
Emili Castells Guasch 2024-03-22 15:08:38 +01:00
parent 9d6fc84c03
commit 342b62326a

View file

@ -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(