diff --git a/src/ResultSet.php b/src/ResultSet.php index 2669279..cebe12a 100644 --- a/src/ResultSet.php +++ b/src/ResultSet.php @@ -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; }