Skip to content

Commit 4e5f571

Browse files
committed
docs: add PHPDoc
1 parent 33c9edc commit 4e5f571

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

system/Database/BaseConnection.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ abstract protected function execute(string $sql);
565565
*
566566
* @param mixed ...$binds
567567
*
568-
* @return BaseResult|bool|Query
568+
* @return BaseResult|bool|Query BaseResult when “read” type query, bool when “write” type query, Query when prepared query
569569
*
570570
* @todo BC set $queryClass default as null in 4.1
571571
*/
@@ -955,6 +955,8 @@ public function getConnectDuration(int $decimals = 6): string
955955
* the correct identifiers.
956956
*
957957
* @param array|string $item
958+
* @param bool $prefixSingle Prefix an item with no segments?
959+
* @param bool $fieldExists Supplied $item contains a field name?
958960
*
959961
* @return array|string
960962
*/

0 commit comments

Comments
 (0)