diff --git a/modules/ppcp-wc-gateway/src/WCGatewayModule.php b/modules/ppcp-wc-gateway/src/WCGatewayModule.php index 77a34e9b1..f2b250a5f 100644 --- a/modules/ppcp-wc-gateway/src/WCGatewayModule.php +++ b/modules/ppcp-wc-gateway/src/WCGatewayModule.php @@ -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 );