Skip to content

Commit 1f93ed0

Browse files
committed
Define template type on Result::getNextResult() return
1 parent 261ab56 commit 1f93ed0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/Result.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@ public function fetchRow(): ?array;
1919
/**
2020
* Resolves with a new instance of Result if another result is available after this result. Resolves with null if
2121
* no further results are available.
22+
*
23+
* @return Result<TFieldValue>|null
2224
*/
23-
public function getNextResult(): ?Result;
25+
public function getNextResult(): ?self;
2426

2527
/**
2628
* Returns the number of rows affected or returned by the query if applicable or null if the number of rows is

0 commit comments

Comments
 (0)