Completed
Push — master ( 769193...35daeb )
by Jorge
03:44 queued 02:19
created
src/Taxes/Tax.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,9 +19,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
src/TaxManager.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.