Skip to content

Commit 8acab3b

Browse files
committed
Fix indentation
1 parent 6a46e15 commit 8acab3b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/ChangeStream.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function next()
100100
$resumable = true;
101101
}
102102
if ($e->getCode() === self::CURSOR_NOT_FOUND) {
103-
$resumable = true;
103+
$resumable = true;
104104
}
105105
if ($e instanceof ConnectionTimeoutException) {
106106
$resumable = true;
@@ -147,7 +147,7 @@ private function extractResumeToken($document)
147147
if (isset($document->_id)) {
148148
$this->resumeToken = is_array($document) ? $document['_id'] : $document->_id;
149149
} else {
150-
throw new ResumeTokenException("Cannot provide resume functionality when the resume token is missing");
150+
throw new ResumeTokenException("Cannot provide resume functionality when the resume token is missing");
151151
}
152152
}
153153

tests/Operation/WatchFunctionalTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function setUp()
2121
if (version_compare($this->getFeatureCompatibilityVersion(), '3.6', '<')) {
2222
$this->markTestSkipped('$changeStream is only supported on FCV 3.6 or higher');
2323
}
24-
}
24+
}
2525

2626
public function testResume()
2727
{
@@ -59,7 +59,7 @@ public function testResume()
5959
'documentKey' => (object) ['_id' => 3]
6060
]);
6161
$this->assertEquals($expectedResult, $changeStream->current());
62-
}
62+
}
6363

6464
public function testNoChangeAfterResumeBeforeInsert()
6565
{

0 commit comments

Comments
 (0)