mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
Fix Psalm error
This commit is contained in:
parent
14b20a6962
commit
e91e5e718d
1 changed files with 1 additions and 1 deletions
|
@ -348,7 +348,7 @@ class CompatModule implements ModuleInterface {
|
||||||
|
|
||||||
add_filter(
|
add_filter(
|
||||||
'woocommerce_paypal_payments_context',
|
'woocommerce_paypal_payments_context',
|
||||||
function ( $context ): string {
|
function ( string $context ): string {
|
||||||
// Default context.
|
// Default context.
|
||||||
return ( 'mini-cart' === $context ) ? 'checkout' : $context;
|
return ( 'mini-cart' === $context ) ? 'checkout' : $context;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue