We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6251283 commit 124997dCopy full SHA for 124997d
app/code/Magento/Bundle/Pricing/Price/DiscountCalculator.php
@@ -29,7 +29,7 @@ public function __construct(private readonly PriceCurrencyInterface $priceCurren
29
* @param float|null $value
30
* @return float|null
31
*/
32
- public function calculateDiscount(Product $product, float $value = null)
+ public function calculateDiscount(Product $product, $value = null)
33
{
34
if ($value === null) {
35
$value = $product->getPriceInfo()->getPrice(FinalPrice::PRICE_CODE)->getValue();
0 commit comments