Skip to content

Commit 8ea661c

Browse files
author
Marcel Hauri
committed
[task] add deprecated notice to misspelled method
1 parent ef68020 commit 8ea661c

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

app/code/Magento/Catalog/Model/Product/Option/Type/DefaultType.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,19 @@ public function getProductOptions()
391391
return [];
392392
}
393393

394+
/**
395+
* @param float $price Price of option
396+
* @param boolean $isPercent Price type - percent or fixed
397+
* @param float $basePrice For percent price type
398+
* @return float
399+
* @deprecated 102.0.4 typo in method name
400+
* @see _getChargeableOptionPrice
401+
*/
402+
protected function _getChargableOptionPrice($price, $isPercent, $basePrice)
403+
{
404+
return $this->_getChargeableOptionPrice($price, $isPercent, $basePrice);
405+
}
406+
394407
/**
395408
* Return final chargeable price for option
396409
*

0 commit comments

Comments
 (0)