1414namespace CodeIgniter \Database \Postgre ;
1515
1616use CodeIgniter \Database \BaseBuilder ;
17+ use CodeIgniter \Database \BaseResult ;
1718use CodeIgniter \Database \Exceptions \DatabaseException ;
19+ use CodeIgniter \Database \Query ;
1820use CodeIgniter \Database \RawSql ;
1921use CodeIgniter \Exceptions \InvalidArgumentException ;
2022
@@ -64,7 +66,7 @@ protected function compileIgnore(string $statement)
6466 *
6567 * @param string $direction ASC, DESC or RANDOM
6668 *
67- * @return BaseBuilder
69+ * @return $this
6870 */
6971 public function orderBy (string $ orderBy , string $ direction = '' , ?bool $ escape = null )
7072 {
@@ -89,7 +91,7 @@ public function orderBy(string $orderBy, string $direction = '', ?bool $escape =
8991 /**
9092 * Increments a numeric column by the specified value.
9193 *
92- * @return mixed
94+ * @return bool
9395 *
9496 * @throws DatabaseException
9597 */
@@ -111,7 +113,7 @@ public function increment(string $column, int $value = 1)
111113 /**
112114 * Decrements a numeric column by the specified value.
113115 *
114- * @return mixed
116+ * @return bool
115117 *
116118 * @throws DatabaseException
117119 */
@@ -138,7 +140,7 @@ public function decrement(string $column, int $value = 1)
138140 *
139141 * @param array|null $set An associative array of insert values
140142 *
141- * @return mixed
143+ * @return BaseResult|false|Query|string
142144 *
143145 * @throws DatabaseException
144146 */
@@ -225,7 +227,7 @@ protected function _insertBatch(string $table, array $keys, array $values): stri
225227 *
226228 * @param mixed $where
227229 *
228- * @return mixed
230+ * @return bool|string
229231 *
230232 * @throws DatabaseException
231233 */
@@ -303,7 +305,7 @@ protected function _like_statement(?string $prefix, string $column, ?string $not
303305 *
304306 * @param RawSql|string $cond
305307 *
306- * @return BaseBuilder
308+ * @return $this
307309 */
308310 public function join (string $ table , $ cond , string $ type = '' , ?bool $ escape = null )
309311 {
0 commit comments