From af3424fb959eef82e2bab3374041de6a90a78ffd Mon Sep 17 00:00:00 2001 From: Nikolay Labinskiy Date: Thu, 13 Apr 2017 14:19:24 +0300 Subject: [PATCH] [HttpFoundation] Fix getClientIp @return docblock --- src/Symfony/Component/HttpFoundation/Request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/HttpFoundation/Request.php b/src/Symfony/Component/HttpFoundation/Request.php index d84dbefa7c..f38560473a 100644 --- a/src/Symfony/Component/HttpFoundation/Request.php +++ b/src/Symfony/Component/HttpFoundation/Request.php @@ -850,7 +850,7 @@ class Request * ("Client-Ip" for instance), configure it via "setTrustedHeaderName()" with * the "client-ip" key. * - * @return string The client IP address + * @return string|null The client IP address * * @see getClientIps() * @see http://en.wikipedia.org/wiki/X-Forwarded-For