diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-10-24 13:55:35 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-10-24 13:55:35 +0200 |
commit | 5fd3ae8d33a4f5d3159b86683b9a670e973a63f5 (patch) | |
tree | e9d9b67931545e1059b2e27d532ac81ec5f33133 /system/database/drivers/sqlite3 | |
parent | 3639d4798cd1ac26b715d8d74ff7855474fb01d7 (diff) |
[ci skip] style and phpdoc-related changes (rel #1295)
Diffstat (limited to 'system/database/drivers/sqlite3')
-rw-r--r-- | system/database/drivers/sqlite3/sqlite3_driver.php | 6 | ||||
-rw-r--r-- | system/database/drivers/sqlite3/sqlite3_result.php | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/system/database/drivers/sqlite3/sqlite3_driver.php b/system/database/drivers/sqlite3/sqlite3_driver.php index d03be15f5..22c72b9b8 100644 --- a/system/database/drivers/sqlite3/sqlite3_driver.php +++ b/system/database/drivers/sqlite3/sqlite3_driver.php @@ -103,13 +103,12 @@ class CI_DB_sqlite3_driver extends CI_DB { /** * Execute the query * - * @param string an SQL query + * @todo Implement use of SQLite3::querySingle(), if needed + * @param string $sql * @return mixed SQLite3Result object or bool */ protected function _execute($sql) { - // TODO: Implement use of SQLite3::querySingle(), if needed - return $this->is_write_type($sql) ? $this->conn_id->exec($sql) : $this->conn_id->query($sql); @@ -120,6 +119,7 @@ class CI_DB_sqlite3_driver extends CI_DB { /** * Begin Transaction * + * @param bool $test_mode = FALSE * @return bool */ public function trans_begin($test_mode = FALSE) diff --git a/system/database/drivers/sqlite3/sqlite3_result.php b/system/database/drivers/sqlite3/sqlite3_result.php index 117fb3ce8..35aecda36 100644 --- a/system/database/drivers/sqlite3/sqlite3_result.php +++ b/system/database/drivers/sqlite3/sqlite3_result.php @@ -167,6 +167,7 @@ class CI_DB_sqlite3_result extends CI_DB_result { * this internally before fetching results to make sure the * result set starts at zero * + * @param $n = 0 (ignored) * @return array */ protected function _data_seek($n = 0) |