Skip to content

Commit 45b5205

Browse files
Merge v1.20 into v1.x (#1419)
2 parents 29743f8 + b20703f commit 45b5205

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ChangeStream.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ private function onIteration(bool $incrementKey): void
255255
* have been received in the last response. Therefore, we can unset the
256256
* resumeCallable. This will free any reference to Watch as well as the
257257
* only reference to any implicit session created therein. */
258-
if ((string) $this->getCursorId() === '0') {
258+
if ((string) $this->getCursorId(true) === '0') {
259259
$this->resumeCallable = null;
260260
}
261261

tests/GridFS/StreamWrapperFunctionalTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function setUp(): void
4646
parent::setUp();
4747

4848
$this->filesCollection->insertMany([
49-
['_id' => 'length-10', 'length' => 10, 'chunkSize' => 4, 'uploadDate' => new UTCDateTime('1484202200000')],
49+
['_id' => 'length-10', 'length' => 10, 'chunkSize' => 4, 'uploadDate' => new UTCDateTime(1484202200000)],
5050
]);
5151

5252
$this->chunksCollection->insertMany([

0 commit comments

Comments
 (0)