fix psalm messages

This commit is contained in:
Daniel Hüsken 2024-11-25 16:06:44 +01:00
parent ee4e85b627
commit 1fa165032e
No known key found for this signature in database
GPG key ID: 9F732DA37FA709E8

View file

@ -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;
}