Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix phpdocs for BaseBuilder #1466

Merged
merged 1 commit into from
Nov 12, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions system/Database/BaseBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -1749,7 +1749,7 @@ public function getCompiledInsert($reset = true)
* @param boolean $escape Whether to escape values and identifiers
* @param boolean $test Used when running tests
*
* @return boolean TRUE on success, FALSE on failure
* @return BaseResult|Query|false
*/
public function insert($set = null, $escape = null, $test = false)
{
Expand Down Expand Up @@ -1832,7 +1832,7 @@ protected function _insert($table, array $keys, array $unescapedKeys)
* @param array $set An associative array of insert values
* @param boolean $returnSQL
*
* @return boolean TRUE on success, FALSE on failure
* @return BaseResult|Query|string|false
* @throws DatabaseException
*/
public function replace($set = null, $returnSQL = false)
Expand Down Expand Up @@ -2045,7 +2045,7 @@ protected function validateUpdate()
* @param integer $batchSize The size of the batch to run
* @param boolean $returnSQL True means SQL is returned, false will execute the query
*
* @return mixed Number of rows affected or FALSE on failure
* @return mixed Number of rows affected, SQL string, or FALSE on failure
* @throws \CodeIgniter\Database\Exceptions\DatabaseException
*/
public function updateBatch($set = null, $index = null, $batchSize = 100, $returnSQL = false)
Expand Down