Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/updater.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/vimeo/psalm/stubs/mongodb.phpstub')
-rw-r--r--vendor/vimeo/psalm/stubs/mongodb.phpstub59
1 files changed, 0 insertions, 59 deletions
diff --git a/vendor/vimeo/psalm/stubs/mongodb.phpstub b/vendor/vimeo/psalm/stubs/mongodb.phpstub
deleted file mode 100644
index ad6f34d..0000000
--- a/vendor/vimeo/psalm/stubs/mongodb.phpstub
+++ /dev/null
@@ -1,59 +0,0 @@
-<?php
-
-namespace MongoDB\Driver;
-
-use Iterator;
-use Traversable;
-
-/**
- * @template-covariant TKey
- * @template-covariant TValue
- *
- * @template-extends Traversable<TKey, TValue>
- */
-interface CursorInterface extends Traversable
-{
- /**
- * @return array<TValue>
- */
- public function toArray();
-}
-
-/**
- * @template-covariant TValue of array|object
- *
- * @template-implements Iterator<int, TValue>
- * @template-implements CursorInterface<int, TValue>
- */
-final class Cursor implements CursorInterface, Iterator
-{
- /**
- * @return TValue
- */
- public function current() {}
-
- /**
- * @return void
- */
- public function next() {}
-
- /**
- * @return int
- */
- public function key() {}
-
- /**
- * @return bool
- */
- public function valid() {}
-
- /**
- * @return void
- */
- public function rewind() {}
-
- /**
- * @return array<TValue>
- */
- public function toArray() {}
-}