mirror of
https://github.com/danog/sql.git
synced 2024-11-30 04:29:18 +01:00
Define template type on Result::getNextResult() return
This commit is contained in:
parent
261ab56609
commit
1f93ed0e0d
@ -19,8 +19,10 @@ interface Result extends \Traversable
|
||||
/**
|
||||
* Resolves with a new instance of Result if another result is available after this result. Resolves with null if
|
||||
* no further results are available.
|
||||
*
|
||||
* @return Result<TFieldValue>|null
|
||||
*/
|
||||
public function getNextResult(): ?Result;
|
||||
public function getNextResult(): ?self;
|
||||
|
||||
/**
|
||||
* Returns the number of rows affected or returned by the query if applicable or null if the number of rows is
|
||||
|
Loading…
Reference in New Issue
Block a user