Merge pull request #3163 from jitendra-webkul/1.0

Fixed bundle type class compatablity issue
This commit is contained in:
Jitendra Singh 2020-06-02 18:53:54 +05:30 committed by GitHub
commit bac17a08fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
}