Fixed bundle type class compatablity issue

This commit is contained in:
Pranshu Tomar 2020-06-02 18:49:20 +05:30
parent ae9ec7ce9b
commit 8e64676197
1 changed files with 5 additions and 3 deletions

View File

@ -156,9 +156,10 @@ class Bundle extends AbstractType
/**
* Get product minimal price
*
* @param int $qty
* @return float
*/
public function getMinimalPrice()
public function getMinimalPrice($qty = null)
{
$minPrice = 0;
@ -326,11 +327,12 @@ class Bundle extends AbstractType
}
/**
* Get product final price
* Get product minimal price
*
* @param int $qty
* @return float
*/
public function getFinalPrice()
public function getFinalPrice($qty = null)
{
return 0;
}