From f112e4a4aea6b1b6694fd1a420adecaba6d9a1ec Mon Sep 17 00:00:00 2001 From: Adriano Rosa Date: Fri, 3 Oct 2014 13:15:46 -0300 Subject: fix doc block get_request_header() This method does not return FALSE as said in doc block, the correct return is STRING or NULL. --- system/core/Input.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/core/Input.php') 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) { -- cgit v1.2.3-24-g4f1b