summaryrefslogtreecommitdiffstats
path: root/system/database/DB_forge.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2017-06-05 09:44:37 +0200
committerAndrey Andreev <narf@devilix.net>2017-06-05 09:45:35 +0200
commitee9d428171dc201f51eaffdb62616312915681ff (patch)
treea27f7d05c362dafe6b901da2ed854e44f665502e /system/database/DB_forge.php
parentab0010f543d88fa19506907684a9d329d4dd94e3 (diff)
[ci skip] Merge pull request #5143 from TysonAndre/misc-phpdoc-nits
Fix misc inconsistencies between code and doc comments
Diffstat (limited to 'system/database/DB_forge.php')
-rw-r--r--system/database/DB_forge.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/database/DB_forge.php b/system/database/DB_forge.php
index 7289235c8..3cb02ca4e 100644
--- a/system/database/DB_forge.php
+++ b/system/database/DB_forge.php
@@ -488,7 +488,7 @@ abstract class CI_DB_forge {
*
* @param string $table Table name
* @param bool $if_exists Whether to add an IF EXISTS condition
- * @return string
+ * @return mixed (Returns a platform-specific DROP table string, or TRUE to indicate there's nothing to do)
*/
protected function _drop_table($table, $if_exists)
{
@@ -979,8 +979,8 @@ abstract class CI_DB_forge {
/**
* Process indexes
*
- * @param string $table
- * @return string
+ * @param string $table Table name
+ * @return string[] list of SQL statements
*/
protected function _process_indexes($table)
{