@@ -14,7 +14,6 @@ |
||
| 14 | 14 | protected $value; |
| 15 | 15 | |
| 16 | 16 | /** |
| 17 | - * @param string $uuid |
|
| 18 | 17 | * @return UUID |
| 19 | 18 | * @throws \ValueObjects\Exception\InvalidNativeArgumentException |
| 20 | 19 | */ |
@@ -17,7 +17,6 @@ |
||
| 17 | 17 | /** |
| 18 | 18 | * Returns a new Currency object from native string currency code |
| 19 | 19 | * |
| 20 | - * @param string $code Currency code |
|
| 21 | 20 | * @return static |
| 22 | 21 | */ |
| 23 | 22 | public static function fromNative() |
@@ -21,8 +21,6 @@ discard block |
||
| 21 | 21 | /** |
| 22 | 22 | * Returns a Money object from native int amount and string currency code |
| 23 | 23 | * |
| 24 | - * @param int $amount Amount expressed in the smallest units of $currency (e.g. cents) |
|
| 25 | - * @param string $currency Currency code of the money object |
|
| 26 | 24 | * @return static |
| 27 | 25 | */ |
| 28 | 26 | public static function fromNative() |
@@ -105,7 +103,7 @@ discard block |
||
| 105 | 103 | * Use 0 < Real $multipler < 1 for division. |
| 106 | 104 | * |
| 107 | 105 | * @param Real $multiplier |
| 108 | - * @param mixed $rounding_mode Rounding mode of the operation. Defaults to RoundingMode::HALF_UP. |
|
| 106 | + * @param null|RoundingMode $rounding_mode Rounding mode of the operation. Defaults to RoundingMode::HALF_UP. |
|
| 109 | 107 | * @return Money |
| 110 | 108 | */ |
| 111 | 109 | public function multiply(Real $multiplier, RoundingMode $rounding_mode = null) |
@@ -16,8 +16,6 @@ discard block |
||
| 16 | 16 | /** |
| 17 | 17 | * Returns a new Complex object from native PHP arguments |
| 18 | 18 | * |
| 19 | - * @param float $real Real part of the complex number |
|
| 20 | - * @param float $im Imaginary part of the complex number |
|
| 21 | 19 | * @return Complex|ValueObjectInterface |
| 22 | 20 | * @throws \BadMethodCallException |
| 23 | 21 | */ |
@@ -79,7 +77,7 @@ discard block |
||
| 79 | 77 | /** |
| 80 | 78 | * Returns the native value of the real and imaginary parts as an array |
| 81 | 79 | * |
| 82 | - * @return array |
|
| 80 | + * @return double[] |
|
| 83 | 81 | */ |
| 84 | 82 | public function toNative() |
| 85 | 83 | { |
@@ -13,7 +13,6 @@ discard block |
||
| 13 | 13 | /** |
| 14 | 14 | * Returns a Real object given a PHP native float as parameter. |
| 15 | 15 | * |
| 16 | - * @param float $number |
|
| 17 | 16 | * @return static |
| 18 | 17 | */ |
| 19 | 18 | public static function fromNative() |
@@ -26,7 +25,6 @@ discard block |
||
| 26 | 25 | /** |
| 27 | 26 | * Returns a Real object given a PHP native float as parameter. |
| 28 | 27 | * |
| 29 | - * @param float $number |
|
| 30 | 28 | */ |
| 31 | 29 | public function __construct($value) |
| 32 | 30 | { |
@@ -13,7 +13,6 @@ |
||
| 13 | 13 | /** |
| 14 | 14 | * Returns a StringLiteral object given a PHP native string as parameter. |
| 15 | 15 | * |
| 16 | - * @param string $value |
|
| 17 | 16 | * @return StringLiteral |
| 18 | 17 | */ |
| 19 | 18 | public static function fromNative() |
@@ -15,7 +15,6 @@ |
||
| 15 | 15 | /** |
| 16 | 16 | * Returns a new Collection object |
| 17 | 17 | * |
| 18 | - * @param \SplFixedArray $array |
|
| 19 | 18 | * @return self |
| 20 | 19 | */ |
| 21 | 20 | public static function fromNative() |
@@ -10,7 +10,6 @@ |
||
| 10 | 10 | /** |
| 11 | 11 | * Returns a new Dictionary object |
| 12 | 12 | * |
| 13 | - * @param array $array |
|
| 14 | 13 | * @return self |
| 15 | 14 | */ |
| 16 | 15 | public static function fromNative() |
@@ -17,8 +17,6 @@ |
||
| 17 | 17 | /** |
| 18 | 18 | * Returns a KeyValuePair from native PHP arguments evaluated as strings |
| 19 | 19 | * |
| 20 | - * @param string $key |
|
| 21 | - * @param string $value |
|
| 22 | 20 | * @return self |
| 23 | 21 | * @throws \InvalidArgumentException |
| 24 | 22 | */ |