Skip to content

Commit 88739b8

Browse files
committed
Update doc blocks for ChangeStream iterator
1 parent c1dbcf8 commit 88739b8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/ChangeStream.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727
use Iterator;
2828

2929
/**
30-
* Iterator for the changeStream command.
30+
* Iterator for a change stream.
3131
*
3232
* @api
33-
* @see \MongoDB\Collection::changeStream()
33+
* @see \MongoDB\Collection::watch()
3434
* @see http://docs.mongodb.org/manual/reference/command/changeStream/
3535
*/
3636
class ChangeStream implements Iterator
@@ -43,6 +43,9 @@ class ChangeStream implements Iterator
4343
const CURSOR_NOT_FOUND = 43;
4444

4545
/**
46+
* Constructor.
47+
*
48+
* @internal
4649
* @param Cursor $cursor
4750
* @param callable $resumeCallable
4851
*/

0 commit comments

Comments
 (0)