Skip to content

Commit 5742958

Browse files
committed
minor symfony#22418 [HttpFoundation] Fix getClientIp @return docblock (e-moe)
This PR was merged into the 2.7 branch. Discussion ---------- [HttpFoundation] Fix getClientIp @return docblock | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | symfony#22415 | License | MIT | Doc PR | none Commits ------- af3424f [HttpFoundation] Fix getClientIp @return docblock
2 parents eff4feb + af3424f commit 5742958

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpFoundation/Request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ public function getClientIps()
850850
* ("Client-Ip" for instance), configure it via "setTrustedHeaderName()" with
851851
* the "client-ip" key.
852852
*
853-
* @return string The client IP address
853+
* @return string|null The client IP address
854854
*
855855
* @see getClientIps()
856856
* @see http://en.wikipedia.org/wiki/X-Forwarded-For

0 commit comments

Comments
 (0)