mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-08 08:13:11 +08:00
Increased MIS to 83%
This commit is contained in:
@@ -103,7 +103,7 @@ class Visit extends AbstractEntity implements JsonSerializable
|
||||
}
|
||||
|
||||
try {
|
||||
return (string) IpAddress::fromString($address)->getAnonymizedCopy();
|
||||
return IpAddress::fromString($address)->getAnonymizedCopy()->__toString();
|
||||
} catch (InvalidArgumentException) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user