@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | /** |
85 | 85 | * Parse a string and returns an IPv4 instance if the string is valid, or null otherwise. |
86 | 86 | * |
87 | - * @param string|mixed $address the address to parse |
|
87 | + * @param string $address the address to parse |
|
88 | 88 | * @param bool $mayIncludePort set to false to avoid parsing addresses with ports |
89 | 89 | * @param bool $supportNonDecimalIPv4 set to true to support parsing non decimal (that is, octal and hexadecimal) IPv4 addresses |
90 | 90 | * |
@@ -404,6 +404,7 @@ discard block |
||
404 | 404 | * {@inheritdoc} |
405 | 405 | * |
406 | 406 | * @see \IPLib\Address\AddressInterface::getNextNthAddress() |
407 | + * @param integer $n |
|
407 | 408 | */ |
408 | 409 | public function getNextNthAddress($n) |
409 | 410 | { |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | /** |
95 | 95 | * Parse a string and returns an IPv6 instance if the string is valid, or null otherwise. |
96 | 96 | * |
97 | - * @param string|mixed $address the address to parse |
|
97 | + * @param string $address the address to parse |
|
98 | 98 | * @param bool $mayIncludePort set to false to avoid parsing addresses with ports |
99 | 99 | * @param bool $mayIncludeZoneID set to false to avoid parsing addresses with zone IDs (see RFC 4007) |
100 | 100 | * |
@@ -507,6 +507,7 @@ discard block |
||
507 | 507 | * {@inheritdoc} |
508 | 508 | * |
509 | 509 | * @see \IPLib\Address\AddressInterface::getNextNthAddress() |
510 | + * @param integer $n |
|
510 | 511 | */ |
511 | 512 | public function getNextNthAddress($n) |
512 | 513 | { |