We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9a5fb2 commit 67dce26Copy full SHA for 67dce26
app/code/Magento/Catalog/Model/Product/Attribute/Backend/TierPrice/AbstractHandler.php
@@ -54,12 +54,12 @@ protected function getAdditionalFields(array $objectArray): array
54
* Check whether price has percentage value.
55
*
56
* @param array $priceRow
57
- * @return int|null
+ * @return float|null
58
*/
59
- protected function getPercentage(array $priceRow): ?int
+ protected function getPercentage(array $priceRow): ?float
60
{
61
return isset($priceRow['percentage_value']) && is_numeric($priceRow['percentage_value'])
62
- ? (int)$priceRow['percentage_value']
+ ? (float)$priceRow['percentage_value']
63
: null;
64
}
65
0 commit comments