Skip to content

Commit 6f06630

Browse files
committed
Adapt to changes in rdbms.ResultSet
1 parent c72e250 commit 6f06630

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/main/php/rdbms/QuerySucceeded.class.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php namespace rdbms;
22

3+
use Traversable;
4+
35
/**
46
* Success result set as returned from the DBConnection::query method
57
*
@@ -52,12 +54,8 @@ public function next($field= null) {
5254
return false;
5355
}
5456

55-
/**
56-
* Returns an iterator
57-
*
58-
* @return php.Iterator
59-
*/
60-
public function getIterator() {
57+
/** Returns an iterator */
58+
public function getIterator(): Traversable {
6159
return new \ArrayIterator([]);
6260
}
6361

0 commit comments

Comments
 (0)