diff options
author | garthkerr <garthkerr@gmail.com> | 2013-10-02 01:46:11 +0200 |
---|---|---|
committer | garthkerr <garthkerr@gmail.com> | 2013-10-02 01:46:11 +0200 |
commit | b53bd4e58f372b767ab33e0e7ffd89201710d043 (patch) | |
tree | 873e46a0d2f09ac764c8c5f88aa0bf857307c698 | |
parent | 57ba100129c2807153d88dc4e1d423f6e6c8a9a6 (diff) |
Add return type for view loader.
When _ci_return is TRUE.
-rw-r--r-- | system/core/Loader.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/core/Loader.php b/system/core/Loader.php index 2eef9979c..e0962510d 100644 --- a/system/core/Loader.php +++ b/system/core/Loader.php @@ -415,7 +415,7 @@ class CI_Loader { * to be extracted for use in the view * @param bool $return Whether to return the view output * or leave it to the Output class - * @return void + * @return void|string */ public function view($view, $vars = array(), $return = FALSE) { @@ -1293,4 +1293,4 @@ class CI_Loader { } /* End of file Loader.php */ -/* Location: ./system/core/Loader.php */
\ No newline at end of file +/* Location: ./system/core/Loader.php */ |