Skip to content

Commit 11213a1

Browse files
committed
MAGETWO-91814: Scheduled Update to existing Group Price / Special Price removes the previously configured price, or results in changes not being saved
1 parent f993a1e commit 11213a1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ private function getAdditionalFields(array $objectArray): array
135135
* Check whether price has percentage value.
136136
*
137137
* @param array $priceRow
138-
* @return integer|null
138+
* @return int|null
139139
*/
140140
private function getPercentage(array $priceRow): ?int
141141
{

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
@@ -131,7 +131,7 @@ private function getAdditionalFields(array $objectArray): array
131131
* Check whether price has percentage value.
132132
*
133133
* @param array $priceRow
134-
* @return integer|null
134+
* @return int|null
135135
*/
136136
private function getPercentage(array $priceRow): ?int
137137
{
@@ -145,7 +145,7 @@ private function getPercentage(array $priceRow): ?int
145145
*
146146
* @param array $valuesToUpdate
147147
* @param array $oldValues
148-
* @return boolean
148+
* @return bool
149149
*/
150150
private function updateValues(array $valuesToUpdate, array $oldValues): bool
151151
{

0 commit comments

Comments
 (0)