Skip to content

Commit

Permalink
DOC Fix misleading code docblocks (silverstripe#10145)
Browse files Browse the repository at this point in the history
  • Loading branch information
LiamKearn authored Nov 9, 2021
1 parent 5d1cac0 commit a08f43b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Control/HTTPRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -365,9 +365,9 @@ public function getHeaders()
}

/**
* 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 <rfc2616 section 4.2 "Message Headers">)
* @return mixed
*/
public function getHeader($header)
Expand All @@ -393,7 +393,7 @@ public function removeHeader($header)
/**
* 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)
Expand Down

0 comments on commit a08f43b

Please sign in to comment.