@@ -55,7 +55,6 @@ |
||
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); |
@@ -77,6 +77,7 @@ |
||
77 | 77 | |
78 | 78 | /** |
79 | 79 | * {@inheritdoc} |
80 | + * @param integer $quantity |
|
80 | 81 | */ |
81 | 82 | final public function convert(UnitInterface $other, $quantity) |
82 | 83 | { |
@@ -11,7 +11,6 @@ |
||
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. |
@@ -198,7 +198,6 @@ |
||
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 | */ |