@@ -19,9 +19,8 @@ discard block |
||
19 | 19 | /** |
20 | 20 | * Get amount percentage for defined tax. |
21 | 21 | * |
22 | - * @param string $type Type of the tax amount |
|
23 | 22 | * |
24 | - * @return int $percentage Amount of the tax |
|
23 | + * @return double $percentage Amount of the tax |
|
25 | 24 | */ |
26 | 25 | public function percentage(): float |
27 | 26 | { |
@@ -52,7 +51,6 @@ discard block |
||
52 | 51 | /** |
53 | 52 | * Return retention instead of a given type if retention flag is activated. |
54 | 53 | * |
55 | - * @param string $type Type of the tax amount |
|
56 | 54 | * |
57 | 55 | * @return string Type of the tax amount |
58 | 56 | */ |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | * @param string|FeiMx\Tax\Contracts\TaxContract $tax |
32 | 32 | * @param bool|string $retention |
33 | 33 | * |
34 | - * @return mixed |
|
34 | + * @return TaxManager |
|
35 | 35 | */ |
36 | 36 | public function addTax($tax, $retention = false) |
37 | 37 | { |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | /** |
67 | 67 | * Get total amount after taxes. |
68 | 68 | * |
69 | - * @return float Total amount |
|
69 | + * @return string Total amount |
|
70 | 70 | */ |
71 | 71 | public function total() |
72 | 72 | { |