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 45998dd commit 2087010Copy full SHA for 2087010
src/ChangeStream.php
@@ -261,7 +261,7 @@ private function onIteration(bool $incrementKey): void
261
* have been received in the last response. Therefore, we can unset the
262
* resumeCallable. This will free any reference to Watch as well as the
263
* only reference to any implicit session created therein. */
264
- if ((string) $this->getCursorId() === '0') {
+ if ((string) $this->getCursorId(true) === '0') {
265
$this->resumeCallable = null;
266
}
267
0 commit comments