summaryrefslogtreecommitdiffstats
path: root/system/database/DB_driver.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/database/DB_driver.php')
-rw-r--r--system/database/DB_driver.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php
index 7c3df42b8..fdd99167f 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -964,7 +964,7 @@ abstract class CI_DB_driver {
* Calculate the aggregate query elapsed time
*
* @param int The number of decimal places
- * @return int
+ * @return string
*/
public function elapsed_time($decimals = 6)
{
@@ -1034,7 +1034,7 @@ abstract class CI_DB_driver {
/**
* Escape String
*
- * @param string $str
+ * @param string|string[] $str
* @param bool $like Whether or not the string will be used in a LIKE condition
* @return string
*/
@@ -1103,7 +1103,7 @@ abstract class CI_DB_driver {
* position is the primary key
*
* @param string the table name
- * @return string
+ * @return mixed
*/
public function primary($table = '')
{
@@ -1146,7 +1146,7 @@ abstract class CI_DB_driver {
* Returns an array of table names
*
* @param string $constrain_by_prefix = FALSE
- * @return array
+ * @return mixed
*/
public function list_tables($constrain_by_prefix = FALSE)
{
@@ -1214,7 +1214,7 @@ abstract class CI_DB_driver {
* Fetch Field Names
*
* @param string the table name
- * @return array
+ * @return mixed
*/
public function list_fields($table = '')
{