@@ -185,7 +185,7 @@ discard block |
||
| 185 | 185 | * @param string $library Library name |
| 186 | 186 | * @param array $params Optional parameters to pass to the library class constructor |
| 187 | 187 | * @param string $object_name An optional object name to assign to |
| 188 | - * @return object |
|
| 188 | + * @return CI_Loader |
|
| 189 | 189 | */ |
| 190 | 190 | public function library($library, $params = NULL, $object_name = NULL) |
| 191 | 191 | { |
@@ -229,7 +229,7 @@ discard block |
||
| 229 | 229 | * @param string $model Model name |
| 230 | 230 | * @param string $name An optional object name to assign to |
| 231 | 231 | * @param bool $db_conn An optional database connection configuration to initialize |
| 232 | - * @return object |
|
| 232 | + * @return CI_Loader |
|
| 233 | 233 | * |
| 234 | 234 | * modified by ci-phpunit-test |
| 235 | 235 | */ |
@@ -361,7 +361,7 @@ discard block |
||
| 361 | 361 | /** |
| 362 | 362 | * Database Loader |
| 363 | 363 | * |
| 364 | - * @param mixed $params Database configuration options |
|
| 364 | + * @param string|boolean $params Database configuration options |
|
| 365 | 365 | * @param bool $return Whether to return the database object |
| 366 | 366 | * @param bool $query_builder Whether to enable Query Builder |
| 367 | 367 | * (overrides the configuration setting) |
@@ -517,7 +517,7 @@ discard block |
||
| 517 | 517 | * An associative array or object containing values |
| 518 | 518 | * to be set, or a value's name if string |
| 519 | 519 | * @param string $val Value to set, only used if $vars is a string |
| 520 | - * @return object |
|
| 520 | + * @return CI_Loader |
|
| 521 | 521 | */ |
| 522 | 522 | public function vars($vars, $val = '') |
| 523 | 523 | { |
@@ -589,7 +589,7 @@ discard block |
||
| 589 | 589 | * Helper Loader |
| 590 | 590 | * |
| 591 | 591 | * @param string|string[] $helpers Helper name(s) |
| 592 | - * @return object |
|
| 592 | + * @return CI_Loader |
|
| 593 | 593 | */ |
| 594 | 594 | public function helper($helpers = array()) |
| 595 | 595 | { |
@@ -660,7 +660,7 @@ discard block |
||
| 660 | 660 | * |
| 661 | 661 | * @uses CI_Loader::helper() |
| 662 | 662 | * @param string|string[] $helpers Helper name(s) |
| 663 | - * @return object |
|
| 663 | + * @return CI_Loader |
|
| 664 | 664 | */ |
| 665 | 665 | public function helpers($helpers = array()) |
| 666 | 666 | { |
@@ -676,7 +676,7 @@ discard block |
||
| 676 | 676 | * |
| 677 | 677 | * @param string|string[] $files List of language file names to load |
| 678 | 678 | * @param string Language name |
| 679 | - * @return object |
|
| 679 | + * @return CI_Loader |
|
| 680 | 680 | */ |
| 681 | 681 | public function language($files, $lang = '') |
| 682 | 682 | { |
@@ -770,7 +770,7 @@ discard block |
||
| 770 | 770 | * |
| 771 | 771 | * @param string $path Path to add |
| 772 | 772 | * @param bool $view_cascade (default: TRUE) |
| 773 | - * @return object |
|
| 773 | + * @return CI_Loader |
|
| 774 | 774 | */ |
| 775 | 775 | public function add_package_path($path, $view_cascade = TRUE) |
| 776 | 776 | { |
@@ -814,7 +814,7 @@ discard block |
||
| 814 | 814 | * added path will be removed removed. |
| 815 | 815 | * |
| 816 | 816 | * @param string $path Path to remove |
| 817 | - * @return object |
|
| 817 | + * @return CI_Loader |
|
| 818 | 818 | */ |
| 819 | 819 | public function remove_package_path($path = '') |
| 820 | 820 | { |