Skip to content

Commit 6877c12

Browse files
Merge branch '7.2' into 7.3
* 7.2: - - CS fixes
2 parents bc55079 + 7d81b81 commit 6877c12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IpUtils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ public static function anonymize(string $ip/* , int $v4Bytes = 1, int $v6Bytes =
196196
throw new \InvalidArgumentException('Cannot anonymize more than 4 bytes for IPv4 and 16 bytes for IPv6.');
197197
}
198198

199-
/**
199+
/*
200200
* If the IP contains a % symbol, then it is a local-link address with scoping according to RFC 4007
201201
* In that case, we only care about the part before the % symbol, as the following functions, can only work with
202202
* the IP address itself. As the scope can leak information (containing interface name), we do not want to

0 commit comments

Comments
 (0)