Skip to content

Commit

Permalink
Annotate Traversable type on Result
Browse files Browse the repository at this point in the history
  • Loading branch information
trowski committed Jul 17, 2022
1 parent 390fb80 commit 226053b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Result.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

namespace Amp\Sql;

/**
* @template TFieldValue
* @extends \Traversable<int, array<string, TFieldValue>>
*/
interface Result extends \Traversable
{
/**
Expand Down

0 comments on commit 226053b

Please sign in to comment.