mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Fix lint
This commit is contained in:
parent
3e7ebf5db2
commit
020be490a6
2 changed files with 4 additions and 2 deletions
|
@ -1379,7 +1379,9 @@ return array(
|
|||
);
|
||||
},
|
||||
'wcgateway.settings.pay-later.default-messaging-locations' => static function( ContainerInterface $container ): array {
|
||||
return array_keys( $container->get( 'wcgateway.settings.pay-later.messaging-locations' ) );
|
||||
$locations = $container->get( 'wcgateway.settings.pay-later.messaging-locations' );
|
||||
unset( $locations['home'] );
|
||||
return array_keys( $locations );
|
||||
},
|
||||
'wcgateway.settings.pay-later.button-locations' => static function( ContainerInterface $container ): array {
|
||||
$settings = $container->get( 'wcgateway.settings' );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue