Skip to content

Commit 45b9d1d

Browse files
authored
Update BaseBuilder.php
The function returns false on failure, but on success it returns the BaseResult unless the pretend flag is set in the query() function. In that case it returns a Query object. Not having this in the PHPdoc is giving PHPStorm fits.
1 parent b367f2f commit 45b9d1d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/Database/BaseBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2270,7 +2270,7 @@ public function getCompiledInsert(bool $reset = true)
22702270
*
22712271
* @param array|object|null $set
22722272
*
2273-
* @return bool
2273+
* @return bool|BaseResult|Query
22742274
*
22752275
* @throws DatabaseException
22762276
*/

0 commit comments

Comments
 (0)