@@ -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 | { |
@@ -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 | * @throws InvalidConfigException |
| 203 | 202 | * @return UnitInterface |
| 204 | 203 | */ |