From fd2f3241fdad39755cabe29cc217f17efcc86427 Mon Sep 17 00:00:00 2001 From: Master Yoda Date: Mon, 12 Nov 2018 01:17:05 -0800 Subject: [PATCH] Fix phpdocs for BaseBuilder --- system/Database/BaseBuilder.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system/Database/BaseBuilder.php b/system/Database/BaseBuilder.php index ef67f7699630..ad4fcfc5fbf8 100644 --- a/system/Database/BaseBuilder.php +++ b/system/Database/BaseBuilder.php @@ -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) { @@ -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) @@ -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)