[HttpFoundation] Fix some typo in the Request doc

This commit is contained in:
Hippolyte Alain 2015-10-13 17:44:16 +02:00
parent d949fcc8d6
commit 481fc12861

View File

@ -1067,7 +1067,7 @@ class Request
/** /**
* Checks whether the request is secure or not. * Checks whether the request is secure or not.
* *
* This method can read the client port from the "X-Forwarded-Proto" header * This method can read the client protocol from the "X-Forwarded-Proto" header
* when trusted proxies were set via "setTrustedProxies()". * when trusted proxies were set via "setTrustedProxies()".
* *
* The "X-Forwarded-Proto" header must contain the protocol: "https" or "http". * The "X-Forwarded-Proto" header must contain the protocol: "https" or "http".
@ -1092,7 +1092,7 @@ class Request
/** /**
* Returns the host name. * Returns the host name.
* *
* This method can read the client port from the "X-Forwarded-Host" header * This method can read the client host name from the "X-Forwarded-Host" header
* when trusted proxies were set via "setTrustedProxies()". * when trusted proxies were set via "setTrustedProxies()".
* *
* The "X-Forwarded-Host" header must contain the client host name. * The "X-Forwarded-Host" header must contain the client host name.