summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSyafiqq <syafiq.rezpector@gmail.com>2017-07-06 03:16:47 +0200
committerSyafiqq <syafiq.rezpector@gmail.com>2017-07-06 03:16:47 +0200
commit6ec0433759964e74d71233b45cd259d24a24ecf3 (patch)
tree9573e79b4ed63ee6fe71a63a485ff9a0a8a09e92
parent5b5e053b95a586c3c278e8d7c9d55c2459ed0908 (diff)
Add array identifier for library loader
-rw-r--r--system/core/Loader.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Loader.php b/system/core/Loader.php
index e6585ad3f..677b832bb 100644
--- a/system/core/Loader.php
+++ b/system/core/Loader.php
@@ -182,7 +182,7 @@ class CI_Loader {
* Loads and instantiates libraries.
* Designed to be called from application controllers.
*
- * @param string $library Library name
+ * @param string|array $library Library name
* @param array $params Optional parameters to pass to the library class constructor
* @param string $object_name An optional object name to assign to
* @return object