Skip to content

Commit

Permalink
Use intersection type for change streams
Browse files Browse the repository at this point in the history
  • Loading branch information
alcaeus committed Aug 23, 2023
1 parent 0ed7f67 commit 9cdb66a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/ChangeStreamIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
*
* @internal
* @template TValue of array|object
* @template-extends IteratorIterator<int, TValue, Iterator<int, TValue>>
* @template-extends IteratorIterator<int, TValue, CursorInterface<int, TValue>&Iterator<int, TValue>>
*/
class ChangeStreamIterator extends IteratorIterator implements CommandSubscriber
{
Expand Down

0 comments on commit 9cdb66a

Please sign in to comment.