Skip to content

Commit 446956d

Browse files
committed
Add Result template type
1 parent baba653 commit 446956d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/PostgresResult.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
use Amp\Sql\Result;
66

7+
/**
8+
* Recursive template types currently not supported, list<mixed> should be list<TFieldType>
9+
* @psalm-type TFieldType list<mixed>|bool|int|float|string|null
10+
* @extends Result<TFieldType>
11+
*/
712
interface PostgresResult extends Result
813
{
914
/**

0 commit comments

Comments
 (0)