Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1beee41

Browse files
committed
remove no longer valid docblock description
1 parent d7992dc commit 1beee41

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/Symfony/Component/HttpFoundation/Request.php

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -783,10 +783,6 @@ public function getClientIps()
783783
* being the original client, and each successive proxy that passed the request
784784
* adding the IP address where it received the request from.
785785
*
786-
* If your reverse proxy uses a different header name than "X-Forwarded-For",
787-
* ("Client-Ip" for instance), configure it via the $trustedHeaderSet
788-
* argument of the Request::setTrustedProxies() method instead.
789-
*
790786
* @return string|null The client IP address
791787
*
792788
* @see getClientIps()
@@ -890,10 +886,6 @@ public function getScheme()
890886
*
891887
* The "X-Forwarded-Port" header must contain the client port.
892888
*
893-
* If your reverse proxy uses a different header name than "X-Forwarded-Port",
894-
* configure it via via the $trustedHeaderSet argument of the
895-
* Request::setTrustedProxies() method instead.
896-
*
897889
* @return int|string can be a string if fetched from the server bag
898890
*/
899891
public function getPort()
@@ -1108,10 +1100,6 @@ public function getQueryString()
11081100
*
11091101
* The "X-Forwarded-Proto" header must contain the protocol: "https" or "http".
11101102
*
1111-
* If your reverse proxy uses a different header name than "X-Forwarded-Proto"
1112-
* ("SSL_HTTPS" for instance), configure it via the $trustedHeaderSet
1113-
* argument of the Request::setTrustedProxies() method instead.
1114-
*
11151103
* @return bool
11161104
*/
11171105
public function isSecure()
@@ -1133,10 +1121,6 @@ public function isSecure()
11331121
*
11341122
* The "X-Forwarded-Host" header must contain the client host name.
11351123
*
1136-
* If your reverse proxy uses a different header name than "X-Forwarded-Host",
1137-
* configure it via the $trustedHeaderSet argument of the
1138-
* Request::setTrustedProxies() method instead.
1139-
*
11401124
* @return string
11411125
*
11421126
* @throws SuspiciousOperationException when the host name is invalid or not trusted

0 commit comments

Comments
 (0)