Skip to content

Commit 4153286

Browse files
committed
Fixed phpdoc annotations
1 parent baea0a2 commit 4153286

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

app/code/Magento/Tax/Model/Calculation/UnitBaseCalculator.php

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,13 @@
1010
class UnitBaseCalculator extends AbstractCalculator
1111
{
1212
/**
13-
* {@inheritdoc}
13+
* @param $amount
14+
* @param null $rate
15+
* @param null $direction
16+
* @param string $type
17+
* @param bool $round
18+
* @param null $item
19+
* @return float|string
1420
*/
1521
protected function roundAmount(
1622
$amount,
@@ -31,7 +37,11 @@ protected function roundAmount(
3137
}
3238

3339
/**
34-
* {@inheritdoc}
40+
* @inheridoc
41+
* @param QuoteDetailsItemInterface $item
42+
* @param int $quantity
43+
* @param bool $round
44+
* @return \Magento\Tax\Api\Data\TaxDetailsItemInterface
3545
*/
3646
protected function calculateWithTaxInPrice(QuoteDetailsItemInterface $item, $quantity, $round = true)
3747
{
@@ -104,7 +114,11 @@ protected function calculateWithTaxInPrice(QuoteDetailsItemInterface $item, $qua
104114
}
105115

106116
/**
107-
* {@inheritdoc}
117+
* @inheridoc
118+
* @param QuoteDetailsItemInterface $item
119+
* @param int $quantity
120+
* @param bool $round
121+
* @return \Magento\Tax\Api\Data\TaxDetailsItemInterface
108122
*/
109123
protected function calculateWithTaxNotInPrice(QuoteDetailsItemInterface $item, $quantity, $round = true)
110124
{

0 commit comments

Comments
 (0)