Skip to content

Commit 4e196be

Browse files
committed
MAGETWO-83706: Scheduled Update to existing Group Price / Special Price removes the previously configured price, or results in changes not being saved
1 parent 0747149 commit 4e196be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Catalog/Model/Product/Attribute/Backend/TierPrice/UpdateHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ private function isWebsiteGlobal(int $websiteId): bool
261261
}
262262

263263
/**
264-
* @param $origPrices
264+
* @param array|null $origPrices
265265
* @param bool $isGlobal
266266
* @return array
267267
*/
@@ -281,7 +281,7 @@ private function prepareOriginalDataToCompare($origPrices, $isGlobal = true): ar
281281
}
282282

283283
/**
284-
* @param $priceRows
284+
* @param array|null $priceRows
285285
* @param bool $isGlobal
286286
* @return array
287287
* @throws \Magento\Framework\Exception\LocalizedException

0 commit comments

Comments
 (0)