mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-04 08:47:23 +08:00
Fix psalm
This commit is contained in:
parent
b5e156d74c
commit
55c3b4f2c5
1 changed files with 0 additions and 1 deletions
|
@ -221,7 +221,6 @@ class SubscriptionModule implements ModuleInterface {
|
|||
$products = array( $this->set_product_config( $product ) );
|
||||
if ( $product->get_type() === 'variable-subscription' ) {
|
||||
$products = array();
|
||||
assert( $product instanceof WC_Product_Variable );
|
||||
$available_variations = $product->get_available_variations();
|
||||
foreach ( $available_variations as $variation ) {
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue