mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +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(
|
||||
'woocommerce_paypal_payments_context',
|
||||
function ( $context ): string {
|
||||
function ( string $context ): string {
|
||||
// Default context.
|
||||
return ( 'mini-cart' === $context ) ? 'checkout' : $context;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue