From 4c98780bdbcc3b5197139b1ea4b2be6c7e0c37fb Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Wed, 9 Mar 2022 17:28:59 +0000 Subject: [PATCH] Fixed PHPStan iterable types for LevelDBIterator --- tests/phpstan/stubs/leveldb.stub | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tests/phpstan/stubs/leveldb.stub b/tests/phpstan/stubs/leveldb.stub index 0b8a4f7cc..11423d25c 100644 --- a/tests/phpstan/stubs/leveldb.stub +++ b/tests/phpstan/stubs/leveldb.stub @@ -8,4 +8,11 @@ class LevelDB{ * @return string|false */ public function get($key, array $read_options = []){} -} \ No newline at end of file +} + +/** + * @implements Iterator + */ +class LevelDBIterator implements Iterator{ + +}