Skip to content

Commit 4397a03

Browse files
committed
minor symfony#16228 [HttpFoundation] Fix some typo in the Request doc (alOneh)
This PR was merged into the 2.3 branch. Discussion ---------- [HttpFoundation] Fix some typo in the Request doc | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Commits ------- 481fc12 [HttpFoundation] Fix some typo in the Request doc
2 parents 84f6b30 + 481fc12 commit 4397a03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/HttpFoundation/Request.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1067,7 +1067,7 @@ public function getQueryString()
10671067
/**
10681068
* Checks whether the request is secure or not.
10691069
*
1070-
* This method can read the client port from the "X-Forwarded-Proto" header
1070+
* This method can read the client protocol from the "X-Forwarded-Proto" header
10711071
* when trusted proxies were set via "setTrustedProxies()".
10721072
*
10731073
* The "X-Forwarded-Proto" header must contain the protocol: "https" or "http".
@@ -1092,7 +1092,7 @@ public function isSecure()
10921092
/**
10931093
* Returns the host name.
10941094
*
1095-
* This method can read the client port from the "X-Forwarded-Host" header
1095+
* This method can read the client host name from the "X-Forwarded-Host" header
10961096
* when trusted proxies were set via "setTrustedProxies()".
10971097
*
10981098
* The "X-Forwarded-Host" header must contain the client host name.

0 commit comments

Comments
 (0)