summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdriano Rosa <adrianorosa@sapo.pt>2014-10-03 18:15:46 +0200
committerAdriano Rosa <adrianorosa@sapo.pt>2014-10-03 18:15:46 +0200
commitf112e4a4aea6b1b6694fd1a420adecaba6d9a1ec (patch)
tree56b6156297a6d4931196bc41b0572262c6dca384
parente4b9cd64e2e7185ddf874ddf9861fe21961edb79 (diff)
fix doc block get_request_header()
This method does not return FALSE as said in doc block, the correct return is STRING or NULL.
-rw-r--r--system/core/Input.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Input.php b/system/core/Input.php
index 544b7c08b..ada9fc680 100644
--- a/system/core/Input.php
+++ b/system/core/Input.php
@@ -766,7 +766,7 @@ class CI_Input {
*
* @param string $index Header name
* @param bool $xss_clean Whether to apply XSS filtering
- * @return string|bool The requested header on success or FALSE on failure
+ * @return string|null The requested header on success or NULL on failure
*/
public function get_request_header($index, $xss_clean = FALSE)
{