@@ -57,7 +57,7 @@ |
||
57 | 57 | /** |
58 | 58 | * Parse a string and returns an IPv4 instance if the string is valid, or null otherwise. |
59 | 59 | * |
60 | - * @param string|mixed $address the address to parse |
|
60 | + * @param string $address the address to parse |
|
61 | 61 | * @param bool $mayIncludePort set to false to avoid parsing addresses with ports |
62 | 62 | * |
63 | 63 | * @return static|null |
@@ -67,7 +67,7 @@ |
||
67 | 67 | /** |
68 | 68 | * Parse a string and returns an IPv6 instance if the string is valid, or null otherwise. |
69 | 69 | * |
70 | - * @param string|mixed $address the address to parse |
|
70 | + * @param string $address the address to parse |
|
71 | 71 | * @param bool $mayIncludePort set to false to avoid parsing addresses with ports |
72 | 72 | * |
73 | 73 | * @return static|null |