mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 14:57:26 +08:00
Fix psalm
This commit is contained in:
parent
3287bf97c4
commit
c9d7bfbe6e
1 changed files with 1 additions and 1 deletions
|
@ -502,7 +502,7 @@ class WCGatewayModule implements ModuleInterface {
|
|||
'woocommerce_paypal_payments_gateway_migrate',
|
||||
function( string $installed_plugin_version ) use ( $c ) {
|
||||
$settings = $c->get( 'wcgateway.settings' );
|
||||
assert( $settings instanceof ContainerInterface );
|
||||
assert( $settings instanceof Settings );
|
||||
|
||||
if ( ! $installed_plugin_version ) {
|
||||
$settings->set( 'allow_local_apm_gateways', true );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue