Skip to content

Commit 124997d

Browse files
committed
ACP2E-2799: [Cloud] Wrong bundle product price when used with tier prices
- With test
1 parent 6251283 commit 124997d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Bundle/Pricing/Price/DiscountCalculator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function __construct(private readonly PriceCurrencyInterface $priceCurren
2929
* @param float|null $value
3030
* @return float|null
3131
*/
32-
public function calculateDiscount(Product $product, float $value = null)
32+
public function calculateDiscount(Product $product, $value = null)
3333
{
3434
if ($value === null) {
3535
$value = $product->getPriceInfo()->getPrice(FinalPrice::PRICE_CODE)->getValue();

0 commit comments

Comments
 (0)