mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Fix psalm errors
This commit is contained in:
parent
9c72fbc247
commit
fcd3317d05
1 changed files with 2 additions and 0 deletions
|
@ -77,6 +77,8 @@ class SubscriptionHelper {
|
|||
if ( is_a( $item, \WC_Order_Item_Product::class ) ) {
|
||||
$product = wc_get_product( $item->get_product_id() );
|
||||
/**
|
||||
* Class already exist in subscriptions plugin.
|
||||
*
|
||||
* @psalm-suppress UndefinedClass
|
||||
*/
|
||||
if ( is_a( $product, \WC_Product_Subscription::class ) ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue