diff --git a/ipaddresses.php b/ipaddresses.php index e9084b8..ee7082b 100644 --- a/ipaddresses.php +++ b/ipaddresses.php @@ -92,11 +92,12 @@ class ipaddresses return true; } - /** Return the IPv6 to compressed form. + /** Return the IPv6 to compressed (or compact) form. * Remove the 0 when they are placed on the begin of the nibble. * Remove all the blocks only zero to convert them to :: (but only one time) * Example: 2001:0660:530d:0201:0000:0000:0000:0124 => 2001:660:530d:201::124 * If an IPv4 is provided, return it without modification + * @param string $ip The IP to compress */ public function compressIP ($ip) {