diff options
author | Adriano Rosa <adrianorosa@sapo.pt> | 2014-10-03 18:15:46 +0200 |
---|---|---|
committer | Adriano Rosa <adrianorosa@sapo.pt> | 2014-10-03 18:15:46 +0200 |
commit | f112e4a4aea6b1b6694fd1a420adecaba6d9a1ec (patch) | |
tree | 56b6156297a6d4931196bc41b0572262c6dca384 | |
parent | e4b9cd64e2e7185ddf874ddf9861fe21961edb79 (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.php | 2 |
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) { |