From 380e1f00819c09e0bc6fe66c8e619c43c410cbe6 Mon Sep 17 00:00:00 2001 From: Vlad <48670792+Mozgito@users.noreply.github.com> Date: Tue, 2 Nov 2021 11:23:42 +0300 Subject: [PATCH] Fix catalog purchasePrice --- intaro.retailcrm/lib/icml/xmlofferbuilder.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/intaro.retailcrm/lib/icml/xmlofferbuilder.php b/intaro.retailcrm/lib/icml/xmlofferbuilder.php index c388feac..2dc20cd4 100644 --- a/intaro.retailcrm/lib/icml/xmlofferbuilder.php +++ b/intaro.retailcrm/lib/icml/xmlofferbuilder.php @@ -249,9 +249,9 @@ class XmlOfferBuilder * @param array $product * @param bool|null $isLoadPrice * @param string $purchasePriceNull - * @return int|null + * @return float|null */ - private function getPurchasePrice(array $product, ?bool $isLoadPrice, string $purchasePriceNull): ?int + private function getPurchasePrice(array $product, ?bool $isLoadPrice, string $purchasePriceNull): ?float { if ($isLoadPrice) { if ($product['CATALOG_PURCHASING_PRICE']) {