dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Improve docs for Title::getInternalURL/getCanonicalURL"
[lhc/web/wiklou.git]
/
includes
/
libs
/
IP.php
diff --git
a/includes/libs/IP.php
b/includes/libs/IP.php
index
8efcd15
..
da525e7
100644
(file)
--- 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
* 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 ) ) {
*/
public static function parseCIDR( $range ) {
if ( self::isIPv6( $range ) ) {
@@
-557,7
+557,7
@@
class IP {
*
* @param string $range
*
*
* @param string $range
*
- * @return array
(string, int)
+ * @return array
[string, int]
*/
private static function parseCIDR6( $range ) {
# Explode into <expanded IP,range>
*/
private static function parseCIDR6( $range ) {
# Explode into <expanded IP,range>
@@
-598,7
+598,7
@@
class IP {
*
* @param string $range
*
*
* @param string $range
*
- * @return array
(string, string)
+ * @return array
[string, string]
*/
private static function parseRange6( $range ) {
# Expand any IPv6 IP
*/
private static function parseRange6( $range ) {
# Expand any IPv6 IP