Skip to content

Commit 60d3a1b

Browse files
authored
[HttpFoundation] Fix IpUtils example
This PR fixes a small bug in the IpUtils class name.
1 parent 0c57c73 commit 60d3a1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/http_foundation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,11 +331,11 @@ analysis purposes. Use the ``anonymize()`` method from the
331331
use Symfony\Component\HttpFoundation\IpUtils;
332332

333333
$ipv4 = '123.234.235.236';
334-
$anonymousIpv4 = IPUtils::anonymize($ipv4);
334+
$anonymousIpv4 = IpUtils::anonymize($ipv4);
335335
// $anonymousIpv4 = '123.234.235.0'
336336

337337
$ipv6 = '2a01:198:603:10:396e:4789:8e99:890f';
338-
$anonymousIpv6 = IPUtils::anonymize($ipv6);
338+
$anonymousIpv6 = IpUtils::anonymize($ipv6);
339339
// $anonymousIpv6 = '2a01:198:603:10::'
340340

341341
Accessing other Data

0 commit comments

Comments
 (0)