mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +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' ) {
|
if ( $customer_token['payment_source']->name() === 'card' ) {
|
||||||
|
/**
|
||||||
|
* Suppress ArgumentTypeCoercion
|
||||||
|
*
|
||||||
|
* @psalm-suppress ArgumentTypeCoercion
|
||||||
|
*/
|
||||||
$this->create_payment_token_card(
|
$this->create_payment_token_card(
|
||||||
$user_id,
|
$user_id,
|
||||||
(object) array(
|
(object) array(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue