From a08f43b762343b44e2d1a7b1ac976787c40fd45c Mon Sep 17 00:00:00 2001 From: LiamKearn <76269376+LiamKearn@users.noreply.github.com> Date: Tue, 9 Nov 2021 12:55:06 +1100 Subject: [PATCH] DOC Fix misleading code docblocks (#10145) --- src/Control/HTTPRequest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Control/HTTPRequest.php b/src/Control/HTTPRequest.php index 6f9212cc2..666f3dda0 100644 --- a/src/Control/HTTPRequest.php +++ b/src/Control/HTTPRequest.php @@ -365,9 +365,9 @@ class HTTPRequest implements ArrayAccess } /** - * Remove an existing HTTP header + * Returns a HTTP Header by name if found in the request * - * @param string $header + * @param string $header Name of the header (Insensitive to case as per ) * @return mixed */ public function getHeader($header) @@ -393,7 +393,7 @@ class HTTPRequest implements ArrayAccess /** * Returns the URL used to generate the page * - * @param bool $includeGetVars whether or not to include the get parameters\ + * @param bool $includeGetVars whether or not to include the get parameters * @return string */ public function getURL($includeGetVars = false)