mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
Fix uninstall dependency.
This commit is contained in:
parent
429232f60f
commit
2d21035457
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@
|
|||
declare(strict_types=1);
|
||||
|
||||
use WooCommerce\PayPalCommerce\Uninstall\ClearDatabaseInterface;
|
||||
use WooCommerce\PayPalCommerce\Vendor\Dhii\Container\CachingContainer;
|
||||
use WooCommerce\PayPalCommerce\Vendor\Psr\Container\ContainerInterface;
|
||||
use WooCommerce\PayPalCommerce\WcGateway\Settings\Settings;
|
||||
|
||||
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
|
||||
|
@ -35,7 +35,7 @@ require $main_plugin_file;
|
|||
$bootstrap = require "{$root_dir}/bootstrap.php";
|
||||
|
||||
$app_container = $bootstrap( $root_dir );
|
||||
assert( $app_container instanceof CachingContainer );
|
||||
assert( $app_container instanceof ContainerInterface );
|
||||
|
||||
$settings = $app_container->get( 'wcgateway.settings' );
|
||||
assert( $settings instanceof Settings );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue