From 8e64676197339161cfaeee32b54e94d700082100 Mon Sep 17 00:00:00 2001 From: Pranshu Tomar Date: Tue, 2 Jun 2020 18:49:20 +0530 Subject: [PATCH] Fixed bundle type class compatablity issue --- packages/Webkul/Product/src/Type/Bundle.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/Webkul/Product/src/Type/Bundle.php b/packages/Webkul/Product/src/Type/Bundle.php index 6f797494d..dfb959304 100644 --- a/packages/Webkul/Product/src/Type/Bundle.php +++ b/packages/Webkul/Product/src/Type/Bundle.php @@ -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; }