Skip to content

Commit 382d685

Browse files
Marcel Hauriosrecio
Marcel Hauri
authored andcommitted
add deprecated notice to misspelled method
1 parent 784099e commit 382d685

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
@@ -394,6 +394,19 @@ public function getProductOptions()
394394
return [];
395395
}
396396

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

0 commit comments

Comments
 (0)