mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
Add return type
This commit is contained in:
parent
6642e7d208
commit
70336ea458
1 changed files with 1 additions and 1 deletions
|
@ -319,7 +319,7 @@ class StylingSettingsMapHelper {
|
|||
*
|
||||
* @psalm-suppress MissingClosureParamType
|
||||
*/
|
||||
static function ( $methods ) use ( $button_name, $current_context ) {
|
||||
static function ( $methods ) use ( $button_name, $current_context ): array {
|
||||
if ( $current_context !== 'classic_checkout' ) {
|
||||
return $methods;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue