Completed
Push — master ( 72a657...653b9d )
by Andrii
02:10
created
src/UnitInterface.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,6 @@
 block discarded – undo
55 55
     /**
56 56
      * Converts to other unit quantity.
57 57
      * @param UnitInterface $other
58
-     * @param int|float|string $amount raw amount
59 58
      * @return int|float|string quantity
60 59
      */
61 60
     public function convert(UnitInterface $other, $quantity);
Please login to merge, or discard this patch.
src/AbstractUnit.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -77,6 +77,7 @@
 block discarded – undo
77 77
 
78 78
     /**
79 79
      * {@inheritdoc}
80
+     * @param integer $quantity
80 81
      */
81 82
     final public function convert(UnitInterface $other, $quantity)
82 83
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 namespace hiqdev\php\units;
12 12
 
13 13
 use hiqdev\php\units\exceptions\InvalidConfigException;
14
-use hiqdev\php\units\tree\TreeConverter;
15 14
 
16 15
 /**
17 16
  * Abstract Unit of measure. E.g.
Please login to merge, or discard this patch.
src/AbstractQuantity.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -198,7 +198,6 @@
 block discarded – undo
198 198
      * Returns unit for given unit name.
199 199
      * The only function to change in child classes.
200 200
      * XXX Should be defined as abstract but `abstract static` is not supported in PHP5.
201
-     * @param string $name
202 201
      * @return UnitInterface
203 202
      * @throws InvalidConfigException
204 203
      */
Please login to merge, or discard this patch.