@@ -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 | */ |
@@ -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() |