Skip to content

Commit 10b3de2

Browse files
committed
docs: make @return strict
1 parent c833671 commit 10b3de2

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
@@ -1944,7 +1944,7 @@ protected function validateUpdate(): bool
19441944
*
19451945
* @throws DatabaseException
19461946
*
1947-
* @return mixed Number of rows affected, SQL string, or FALSE on failure
1947+
* @return false|int|string[] Number of rows affected or FALSE on failure, SQL array when testMode
19481948
*/
19491949
public function updateBatch(?array $set = null, ?string $index = null, int $batchSize = 100)
19501950
{

0 commit comments

Comments
 (0)