mirror of
https://github.com/danog/sql.git
synced 2024-11-26 20:15:08 +01:00
Remove fetch-type parameter
This commit is contained in:
parent
5c65ef09c4
commit
3a19be7118
@ -6,14 +6,10 @@ use Amp\Iterator;
|
|||||||
|
|
||||||
interface ResultSet extends Iterator
|
interface ResultSet extends Iterator
|
||||||
{
|
{
|
||||||
const FETCH_ARRAY = 0;
|
|
||||||
const FETCH_ASSOC = 1;
|
|
||||||
const FETCH_OBJECT = 2;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*
|
*
|
||||||
* @param int $type Next row fetch type. Use the FETCH_* constants provided by this interface.
|
* @return array Map of row names to values.
|
||||||
*/
|
*/
|
||||||
public function getCurrent(int $type = self::FETCH_ASSOC);
|
public function getCurrent(): array;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user