Skip to content

Commit 2e95291

Browse files
committed
Database QueryInterface typos changes
1 parent 2053cea commit 2e95291

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

system/Database/QueryInterface.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,13 @@ interface QueryInterface
5252
/**
5353
* Sets the raw query string to use for this statement.
5454
*
55-
* @param string $sql
56-
* @param array $binds
55+
* @param string $sql
56+
* @param mixed $binds
57+
* @param boolean $setEscape
5758
*
5859
* @return mixed
5960
*/
60-
public function setQuery(string $sql, $binds = null);
61+
public function setQuery(string $sql, $binds = null, bool $setEscape = true);
6162

6263
//--------------------------------------------------------------------
6364

@@ -91,9 +92,9 @@ public function setDuration(float $start, float $end = null);
9192
*
9293
* @param integer $decimals The accuracy of the returned time.
9394
*
94-
* @return mixed
95+
* @return string
9596
*/
96-
public function getDuration(int $decimals = 6);
97+
public function getDuration(int $decimals = 6): string;
9798

9899
//--------------------------------------------------------------------
99100

0 commit comments

Comments
 (0)