@@ -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 @@ |
||
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 | */ |
@@ -47,14 +47,6 @@ |
||
47 | 47 | /** |
48 | 48 | * Returns a new Address from native PHP arguments |
49 | 49 | * |
50 | - * @param string $name |
|
51 | - * @param string $street_name |
|
52 | - * @param string $street_number |
|
53 | - * @param string $district |
|
54 | - * @param string $city |
|
55 | - * @param string $region |
|
56 | - * @param string $postal_code |
|
57 | - * @param string $country_code |
|
58 | 50 | * @return self |
59 | 51 | * @throws \BadMethodCallException |
60 | 52 | */ |
@@ -15,7 +15,6 @@ |
||
15 | 15 | /** |
16 | 16 | * Returns a new Time object from native timezone name |
17 | 17 | * |
18 | - * @param string $name |
|
19 | 18 | * @return self |
20 | 19 | */ |
21 | 20 | public static function fromNative() |
@@ -13,7 +13,6 @@ discard block |
||
13 | 13 | /** |
14 | 14 | * Returns a new Country object given a native PHP string country code |
15 | 15 | * |
16 | - * @param string $code |
|
17 | 16 | * @return self |
18 | 17 | */ |
19 | 18 | public static function fromNative() |
@@ -63,7 +62,7 @@ discard block |
||
63 | 62 | /** |
64 | 63 | * Returns country name |
65 | 64 | * |
66 | - * @return StringLiteral |
|
65 | + * @return \ValueObjects\StringLiteral\StringLiteral |
|
67 | 66 | */ |
68 | 67 | public function getName() |
69 | 68 | { |