Skip to content

Commit

Permalink
Fix modularity uninstall dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrosilva-pt committed Dec 20, 2023
1 parent 8384492 commit 12e371b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions uninstall.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' ) ) {
Expand All @@ -35,7 +35,7 @@
$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 );
Expand Down

0 comments on commit 12e371b

Please sign in to comment.