diff options
author | Andrey Andreev <narf@devilix.net> | 2017-06-05 09:44:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-05 09:44:37 +0200 |
commit | 735e2165d1ad16454ae1b2222a66345a74b82d14 (patch) | |
tree | 4c3ee78046cb48080b2e4c1cfad8495979260bb9 /system/database | |
parent | fdd4b816c8bb8c072e98a586b0b41786dd34d44c (diff) | |
parent | dec2b56fa44803e1579804fe329fd45658c6217b (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')
-rw-r--r-- | system/database/DB_forge.php | 6 | ||||
-rw-r--r-- | system/database/drivers/ibase/ibase_forge.php | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/system/database/DB_forge.php b/system/database/DB_forge.php index b52d1fb2b..31fae43cf 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) { @@ -991,8 +991,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) { diff --git a/system/database/drivers/ibase/ibase_forge.php b/system/database/drivers/ibase/ibase_forge.php index 44bb24e68..31352f128 100644 --- a/system/database/drivers/ibase/ibase_forge.php +++ b/system/database/drivers/ibase/ibase_forge.php @@ -91,7 +91,7 @@ class CI_DB_ibase_forge extends CI_DB_forge { * Create database * * @param string $db_name - * @return string + * @return bool */ public function create_database($db_name) { |