diff options
author | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2022-09-20 05:14:06 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2022-09-20 05:14:06 +0300 |
commit | d0b71b7fa669b1a02404a539c86b46ca0a6cd802 (patch) | |
tree | 1490d485623b692974f7c4301e4347d785a4fd77 /test | |
parent | cccbf28c8b80067c758a1266562ae3eddbddc3ea (diff) |
Use Psalm annotation for ResultInterface::getIterator
Adds Psalm's prefix for the return annotation to avoid lint errors.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'test')
-rw-r--r-- | test/classes/Stubs/DummyResult.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/classes/Stubs/DummyResult.php b/test/classes/Stubs/DummyResult.php index 1fa19296be..e062db7b69 100644 --- a/test/classes/Stubs/DummyResult.php +++ b/test/classes/Stubs/DummyResult.php @@ -46,7 +46,7 @@ class DummyResult implements ResultInterface * Returns a generator that traverses through the whole result set * and returns each row as an associative array * - * @return Generator<int, array<string, string|null>, mixed, void> + * @psalm-return Generator<int, array<string, string|null>, mixed, void> */ public function getIterator(): Generator { |