From c9d7bfbe6ec0b66fb86e06a23b5bbcd676798b6c Mon Sep 17 00:00:00 2001 From: Emili Castells Guasch Date: Tue, 27 Aug 2024 12:41:55 +0200 Subject: [PATCH] Fix psalm --- modules/ppcp-wc-gateway/src/WCGatewayModule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 );