mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
fix psalm messages
This commit is contained in:
parent
ee4e85b627
commit
1fa165032e
1 changed files with 1 additions and 1 deletions
|
@ -451,7 +451,7 @@ class SavePaymentMethodsModule implements ServiceModule, ExtendingModule, Execut
|
|||
|
||||
add_filter(
|
||||
'woocommerce_paypal_payments_save_payment_methods_eligible',
|
||||
function( $value ) use ( $c ) {
|
||||
function( bool $value ) use ( $c ): bool {
|
||||
if ( ! self::vault_enabled( $c ) ) {
|
||||
return $value;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue