@@ -133,7 +133,7 @@ |
||
133 | 133 | /** |
134 | 134 | * Should be an array of CIDRS eg ['1.1.1.0/24', '2.2.2.2/31'] |
135 | 135 | * |
136 | - * @param $subnetsArray |
|
136 | + * @param string[] $subnetsArray |
|
137 | 137 | */ |
138 | 138 | public static function consolidate_subnets($subnetsArray) |
139 | 139 | { |
@@ -23,7 +23,7 @@ |
||
23 | 23 | * Checks if an IPv4 or IPv6 address is contained in the list of given IPs or subnets. |
24 | 24 | * |
25 | 25 | * @param string $requestIP IP to check |
26 | - * @param string|array $ips List of IPs or subnets (can be a string if only a single one) |
|
26 | + * @param string $ips List of IPs or subnets (can be a string if only a single one) |
|
27 | 27 | * |
28 | 28 | * @return bool Whether the IP is valid |
29 | 29 | */ |