From 6b4e05f0450e94b0c93a0b376055fdc7d94cacfb Mon Sep 17 00:00:00 2001 From: Niklas Keller Date: Fri, 14 Sep 2018 22:05:25 +0200 Subject: [PATCH] Move result set type to getCurrent() --- src/ResultSet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ResultSet.php b/src/ResultSet.php index d23ceb8..b7f1935 100644 --- a/src/ResultSet.php +++ b/src/ResultSet.php @@ -16,5 +16,5 @@ interface ResultSet extends Iterator * * @param int $type Next row fetch type. Use the FETCH_* constants provided by this interface. */ - public function advance(int $type = self::FETCH_ASSOC): Promise; + public function getCurrent(int $type = self::FETCH_ASSOC); }