X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2Flibs%2FIP.php;h=da525e71cd566f8dae37bfae4b09d0c52effbd13;hb=a38af7ba26579bb3004f673e44d39710887763aa;hp=8efcd1589b4ff48872e3e1dbb20f78841c11b308;hpb=afe3262a161b341f37a2107895fe0bc8ad9dddb1;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/IP.php b/includes/libs/IP.php index 8efcd1589b..da525e71cd 100644 --- a/includes/libs/IP.php +++ b/includes/libs/IP.php @@ -467,7 +467,7 @@ class IP { * to an integer network and a number of bits * * @param string $range IP with CIDR prefix - * @return array(int or string, int) + * @return array [int or string, int] */ public static function parseCIDR( $range ) { if ( self::isIPv6( $range ) ) { @@ -557,7 +557,7 @@ class IP { * * @param string $range * - * @return array(string, int) + * @return array [string, int] */ private static function parseCIDR6( $range ) { # Explode into @@ -598,7 +598,7 @@ class IP { * * @param string $range * - * @return array(string, string) + * @return array [string, string] */ private static function parseRange6( $range ) { # Expand any IPv6 IP