@@ -14,7 +14,6 @@ |
||
14 | 14 | /** |
15 | 15 | * Returns a new RelativeHumidity from native int value |
16 | 16 | * |
17 | - * @param int $value |
|
18 | 17 | * @return RelativeHumidity |
19 | 18 | */ |
20 | 19 | public static function fromNative() |
@@ -20,9 +20,6 @@ |
||
20 | 20 | /** |
21 | 21 | * Returns a new Date from native year, month and day values |
22 | 22 | * |
23 | - * @param int $year |
|
24 | - * @param string $month |
|
25 | - * @param int $day |
|
26 | 23 | * @return Date |
27 | 24 | */ |
28 | 25 | public static function fromNative() |
@@ -16,12 +16,6 @@ |
||
16 | 16 | /** |
17 | 17 | * Returns a new DateTime object from native values |
18 | 18 | * |
19 | - * @param int $year |
|
20 | - * @param string $month |
|
21 | - * @param int $day |
|
22 | - * @param int $hour |
|
23 | - * @param int $minute |
|
24 | - * @param int $second |
|
25 | 19 | * @return DateTime |
26 | 20 | */ |
27 | 21 | public static function fromNative() |
@@ -16,13 +16,6 @@ |
||
16 | 16 | /** |
17 | 17 | * Returns a new DateTime object from native values |
18 | 18 | * |
19 | - * @param int $year |
|
20 | - * @param string $month |
|
21 | - * @param int $day |
|
22 | - * @param int $hour |
|
23 | - * @param int $minute |
|
24 | - * @param int $second |
|
25 | - * @param string $timezone |
|
26 | 19 | * |
27 | 20 | * @return DateTimeWithTimeZone |
28 | 21 | */ |
@@ -13,7 +13,6 @@ |
||
13 | 13 | /** |
14 | 14 | * Returns a new Hour from native int value |
15 | 15 | * |
16 | - * @param int $value |
|
17 | 16 | * @return Hour |
18 | 17 | */ |
19 | 18 | public static function fromNative() |
@@ -14,7 +14,6 @@ |
||
14 | 14 | /** |
15 | 15 | * Returns a new Minute from native int value |
16 | 16 | * |
17 | - * @param int $value |
|
18 | 17 | * @return Minute |
19 | 18 | */ |
20 | 19 | public static function fromNative() |
@@ -19,9 +19,6 @@ |
||
19 | 19 | /** |
20 | 20 | * Returns a nee Time object from native int hour, minute and second |
21 | 21 | * |
22 | - * @param int $hour |
|
23 | - * @param int $minute |
|
24 | - * @param int $second |
|
25 | 22 | * @return self |
26 | 23 | */ |
27 | 24 | public static function fromNative() |
@@ -15,7 +15,6 @@ discard block |
||
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() |
@@ -91,7 +90,7 @@ discard block |
||
91 | 90 | /** |
92 | 91 | * Returns timezone name |
93 | 92 | * |
94 | - * @return String |
|
93 | + * @return StringLiteral |
|
95 | 94 | */ |
96 | 95 | public function getName() |
97 | 96 | { |
@@ -47,14 +47,6 @@ discard block |
||
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 | */ |
@@ -80,12 +72,12 @@ discard block |
||
80 | 72 | /** |
81 | 73 | * Returns a new Address object |
82 | 74 | * |
83 | - * @param String $name |
|
75 | + * @param StringLiteral $name |
|
84 | 76 | * @param Street $street |
85 | - * @param String $district |
|
86 | - * @param String $city |
|
87 | - * @param String $region |
|
88 | - * @param String $postalCode |
|
77 | + * @param StringLiteral $district |
|
78 | + * @param StringLiteral $city |
|
79 | + * @param StringLiteral $region |
|
80 | + * @param StringLiteral $postalCode |
|
89 | 81 | * @param Country $country |
90 | 82 | */ |
91 | 83 | public function __construct(StringLiteral $name, Street $street, StringLiteral $district, StringLiteral $city, StringLiteral $region, StringLiteral $postalCode, Country $country) |