mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-03 08:37:53 +08:00
Fix the psalm error
This commit is contained in:
parent
6ba367efbd
commit
1b0fe84968
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ class ItemFactory {
|
||||||
mb_substr( $product->get_name(), 0, 127 ),
|
mb_substr( $product->get_name(), 0, 127 ),
|
||||||
new Money( $price_without_tax_rounded, $this->currency ),
|
new Money( $price_without_tax_rounded, $this->currency ),
|
||||||
$quantity,
|
$quantity,
|
||||||
substr( wp_strip_all_tags( $product->get_description() ), 0, 127 ),
|
substr( wp_strip_all_tags( $product->get_description() ), 0, 127 ) ?: '',
|
||||||
$tax,
|
$tax,
|
||||||
$product->get_sku(),
|
$product->get_sku(),
|
||||||
( $product->is_virtual() ) ? Item::DIGITAL_GOODS : Item::PHYSICAL_GOODS
|
( $product->is_virtual() ) ? Item::DIGITAL_GOODS : Item::PHYSICAL_GOODS
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue