Skip to content

Commit d7cd12b

Browse files
committed
minor #15220 [HttpFoundation] Fix IpUtils example (sebpacz)
This PR was merged into the 4.4 branch. Discussion ---------- [HttpFoundation] Fix IpUtils example This PR fixes a small bug in the IpUtils class name. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `5.x` for features of unreleased versions). --> Commits ------- 60d3a1b [HttpFoundation] Fix IpUtils example
2 parents 0c57c73 + 60d3a1b commit d7cd12b

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)