We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91a1a0c commit bc0de5cCopy full SHA for bc0de5c
src/ChangeStream.php
@@ -18,7 +18,6 @@
18
namespace MongoDB;
19
20
use Iterator;
21
-use MongoDB\BSON\Document;
22
use MongoDB\Codec\DocumentCodec;
23
use MongoDB\Driver\CursorId;
24
use MongoDB\Driver\Exception\ConnectionException;
@@ -29,7 +28,6 @@
29
28
use MongoDB\Model\ChangeStreamIterator;
30
use ReturnTypeWillChange;
31
32
-use function assert;
33
use function call_user_func;
34
use function in_array;
35
@@ -116,8 +114,6 @@ public function current()
116
114
return $value;
117
115
}
118
119
- assert($value === null || $value instanceof Document);
120
-
121
return $this->codec->decodeIfSupported($value);
122
123
0 commit comments