diff options
author | Andrew Podner <a.podner@me.com> | 2012-12-17 13:51:15 +0100 |
---|---|---|
committer | Andrew Podner <a.podner@me.com> | 2012-12-17 13:51:15 +0100 |
commit | 4296a65693504736b5e65bee5b163fa08cacb563 (patch) | |
tree | f9359955f5009f2e7ef4928f2f98b938b00eb591 /system/core | |
parent | 5e872505a06da30c4643b99643b39bd650d45093 (diff) |
update for Issue #2064 (changed docblocks which return $this or only call a method that returns $this to @return CI_DB_class_name)
Diffstat (limited to 'system/core')
-rw-r--r-- | system/core/Output.php | 16 | ||||
-rw-r--r-- | system/core/Security.php | 4 |
2 files changed, 10 insertions, 10 deletions
diff --git a/system/core/Output.php b/system/core/Output.php index 98deff55c..7a7380ce1 100644 --- a/system/core/Output.php +++ b/system/core/Output.php @@ -143,7 +143,7 @@ class CI_Output { * Sets the output string. * * @param string $output Output data - * @return object $this + * @return CI_Output */ public function set_output($output) { @@ -159,7 +159,7 @@ class CI_Output { * Appends data onto the output string. * * @param string $output Data to append - * @return object $this + * @return CI_Output */ public function append_output($output) { @@ -187,7 +187,7 @@ class CI_Output { * * @param string $header Header * @param bool $replace Whether to replace the old header value, if already set - * @return object $this + * @return CI_Output */ public function set_header($header, $replace = TRUE) { @@ -211,7 +211,7 @@ class CI_Output { * * @param string $mime_type Extension of the file we're outputting * @param string $charset Character set (default: NULL) - * @return object $this + * @return CI_Output */ public function set_content_type($mime_type, $charset = NULL) { @@ -308,7 +308,7 @@ class CI_Output { * * @param int $code Status code (default: 200) * @param string $text Optional message - * @return object $this + * @return CI_Output */ public function set_status_header($code = 200, $text = '') { @@ -322,7 +322,7 @@ class CI_Output { * Enable/disable Profiler * * @param bool $val TRUE to enable or FALSE to disable - * @return object $this + * @return CI_Output */ public function enable_profiler($val = TRUE) { @@ -339,7 +339,7 @@ class CI_Output { * Profiler section display. * * @param array $sections Profiler sections - * @return object $this + * @return CI_Output */ public function set_profiler_sections($sections) { @@ -363,7 +363,7 @@ class CI_Output { * Set Cache * * @param int $time Cache expiration time in seconds - * @return object $this + * @return CI_Output */ public function cache($time) { diff --git a/system/core/Security.php b/system/core/Security.php index c415544b6..3bf626635 100644 --- a/system/core/Security.php +++ b/system/core/Security.php @@ -151,7 +151,7 @@ class CI_Security { /** * CSRF Verify * - * @return object + * @return CI_Security */ public function csrf_verify() { @@ -202,7 +202,7 @@ class CI_Security { * CSRF Set Cookie * * @codeCoverageIgnore - * @return object + * @return CI_Security */ public function csrf_set_cookie() { |