File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
app/code/Magento/Catalog/Pricing/Price Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -29,8 +29,10 @@ public function __construct(CalculatorInterface $calculator)
29
29
}
30
30
31
31
/**
32
- * Get raw value of "as low as" as a minimal among tier prices
33
- * {@inheritdoc}
32
+ * Get raw value of "as low as" as a minimal among tier prices{@inheritdoc}
33
+ *
34
+ * @param SaleableInterface $saleableItem
35
+ * @return float|null
34
36
*/
35
37
public function getValue (SaleableInterface $ saleableItem )
36
38
{
@@ -49,15 +51,17 @@ public function getValue(SaleableInterface $saleableItem)
49
51
}
50
52
51
53
/**
52
- * Return calculated amount object that keeps "as low as" value
53
- * {@inheritdoc}
54
+ * Return calculated amount object that keeps "as low as" value{@inheritdoc}
55
+ *
56
+ * @param SaleableInterface $saleableItem
57
+ * @return AmountInterface|null
54
58
*/
55
59
public function getAmount (SaleableInterface $ saleableItem )
56
60
{
57
61
$ value = $ this ->getValue ($ saleableItem );
58
62
59
63
return $ value === null
60
64
? null
61
- : $ this ->calculator ->getAmount ($ value , $ saleableItem );
65
+ : $ this ->calculator ->getAmount ($ value , $ saleableItem, ' tax ' );
62
66
}
63
67
}
You can’t perform that action at this time.
0 commit comments