mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-31 06:52:50 +08:00
Fix psalm
This commit is contained in:
parent
9d6fc84c03
commit
342b62326a
1 changed files with 5 additions and 0 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue