Remove fetch-type parameter
This commit is contained in:
parent
5c65ef09c4
commit
3a19be7118
@ -6,14 +6,10 @@ use Amp\Iterator;
|
||||
|
||||
interface ResultSet extends Iterator
|
||||
{
|
||||
const FETCH_ARRAY = 0;
|
||||
const FETCH_ASSOC = 1;
|
||||
const FETCH_OBJECT = 2;
|
||||
|
||||
/**
|
||||
* {@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