summaryrefslogtreecommitdiffstats
path: root/system/core
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-02-05 14:31:08 +0100
committerAndrey Andreev <narf@devilix.net>2015-02-05 14:31:08 +0100
commit79533cac482a9d8f9211c8ff607968de3b27d1e4 (patch)
treef3cbaf44b6cf7cab075f4cc5f388bd1c3ecabd79 /system/core
parent74d0e23eae054c49bbf7d9d5c4738fa5a63754cf (diff)
parent40bbd60bcc5135f898f46e502f7b04ef065274e0 (diff)
Merge pull request #3551 from gadelat/voids
Fixed inconsistent return types
Diffstat (limited to 'system/core')
-rw-r--r--system/core/Common.php2
-rw-r--r--system/core/Loader.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/system/core/Common.php b/system/core/Common.php
index c3198b31f..9f509745f 100644
--- a/system/core/Common.php
+++ b/system/core/Common.php
@@ -86,7 +86,7 @@ if ( ! function_exists('is_really_writable'))
*
* @link https://bugs.php.net/bug.php?id=54709
* @param string
- * @return void
+ * @return bool
*/
function is_really_writable($file)
{
diff --git a/system/core/Loader.php b/system/core/Loader.php
index ff7838640..b2eeb3b1d 100644
--- a/system/core/Loader.php
+++ b/system/core/Loader.php
@@ -1244,7 +1244,7 @@ class CI_Loader {
if ( ! isset($autoload))
{
- return FALSE;
+ return;
}
// Autoload packages