We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b02829e commit f491418Copy full SHA for f491418
create_framework/http_foundation.rst
@@ -258,7 +258,7 @@ explicitly trust your reverse proxies by calling ``setTrustedProxies()``::
258
259
Request::setTrustedProxies(array('10.0.0.1'));
260
261
- if ($myIp === $request->getClientIp(true)) {
+ if ($myIp === $request->getClientIp()) {
262
// the client is a known one, so give it some more privilege
263
}
264
0 commit comments