From 481fc1286182d6b419cfa796dd8f8e8003f291d3 Mon Sep 17 00:00:00 2001 From: Hippolyte Alain Date: Tue, 13 Oct 2015 17:44:16 +0200 Subject: [PATCH] [HttpFoundation] Fix some typo in the Request doc --- src/Symfony/Component/HttpFoundation/Request.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/HttpFoundation/Request.php b/src/Symfony/Component/HttpFoundation/Request.php index c79bccc390..d2af44626c 100644 --- a/src/Symfony/Component/HttpFoundation/Request.php +++ b/src/Symfony/Component/HttpFoundation/Request.php @@ -1067,7 +1067,7 @@ class Request /** * 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()". * * The "X-Forwarded-Proto" header must contain the protocol: "https" or "http". @@ -1092,7 +1092,7 @@ class Request /** * 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()". * * The "X-Forwarded-Host" header must contain the client host name.