@@ -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 | */ |
@@ -65,8 +65,8 @@ discard block |
||
| 65 | 65 | * Returns a new Url object |
| 66 | 66 | * |
| 67 | 67 | * @param SchemeName $scheme |
| 68 | - * @param String $user |
|
| 69 | - * @param String $password |
|
| 68 | + * @param StringLiteral $user |
|
| 69 | + * @param StringLiteral $password |
|
| 70 | 70 | * @param Domain $domain |
| 71 | 71 | * @param Path $path |
| 72 | 72 | * @param PortNumberInterface $port |
@@ -131,7 +131,7 @@ discard block |
||
| 131 | 131 | /** |
| 132 | 132 | * Returns the password part of the Url |
| 133 | 133 | * |
| 134 | - * @return String |
|
| 134 | + * @return StringLiteral |
|
| 135 | 135 | */ |
| 136 | 136 | public function getPassword() |
| 137 | 137 | { |
@@ -151,7 +151,7 @@ discard block |
||
| 151 | 151 | /** |
| 152 | 152 | * Returns the port of the Url |
| 153 | 153 | * |
| 154 | - * @return PortNumberInterface |
|
| 154 | + * @return ValueObjectInterface |
|
| 155 | 155 | */ |
| 156 | 156 | public function getPort() |
| 157 | 157 | { |
@@ -181,7 +181,7 @@ discard block |
||
| 181 | 181 | /** |
| 182 | 182 | * Returns the user part of the Url |
| 183 | 183 | * |
| 184 | - * @return String |
|
| 184 | + * @return StringLiteral |
|
| 185 | 185 | */ |
| 186 | 186 | public function getUser() |
| 187 | 187 | { |
@@ -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() |
@@ -14,7 +14,6 @@ discard block |
||
| 14 | 14 | /** |
| 15 | 15 | * Returns a Real object given a PHP native float as parameter. |
| 16 | 16 | * |
| 17 | - * @param float $number |
|
| 18 | 17 | * |
| 19 | 18 | * @return static |
| 20 | 19 | */ |
@@ -28,7 +27,6 @@ discard block |
||
| 28 | 27 | /** |
| 29 | 28 | * Returns a Real object given a PHP native float as parameter. |
| 30 | 29 | * |
| 31 | - * @param float $number |
|
| 32 | 30 | */ |
| 33 | 31 | public function __construct($value) |
| 34 | 32 | { |