diff --git a/docs/api/MongoDB/Query/QueryCursor.php b/docs/api/MongoDB/Query/QueryCursor.php index 4217f202..ccf7990e 100644 --- a/docs/api/MongoDB/Query/QueryCursor.php +++ b/docs/api/MongoDB/Query/QueryCursor.php @@ -26,11 +26,13 @@ final class QueryCursor implements Cursor * * @param Server $server * @param CursorId $cursorId + * @param array $firstBatch */ - public function __construct(Server $server, CursorId $cursorId) + public function __construct(Server $server, CursorId $cursorId, array $firstBatch) { $this->server = $server; $this->cursorId = $cursorId; + $this->firstBatch = $firstBatch; } /**