Skip to content

Commit 3bef185

Browse files
committed
Fix control structure spacing
1 parent 3ffd674 commit 3bef185

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

source/includes/read/change-streams.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function toJSON(object $document): string
2020
$changeStream = $collection->watch();
2121

2222
for ($changeStream->rewind(); true; $changeStream->next()) {
23-
if ( ! $changeStream->valid()) {
23+
if (! $changeStream->valid()) {
2424
continue;
2525
}
2626
$event = $changeStream->current();
@@ -46,7 +46,7 @@ function toJSON(object $document): string
4646
$changeStream = $collection->watch($pipeline);
4747

4848
for ($changeStream->rewind(); true; $changeStream->next()) {
49-
if ( ! $changeStream->valid()) {
49+
if (! $changeStream->valid()) {
5050
continue;
5151
}
5252
$event = $changeStream->current();
@@ -64,7 +64,7 @@ function toJSON(object $document): string
6464
$changeStream = $collection->watch([], $options);
6565

6666
for ($changeStream->rewind(); true; $changeStream->next()) {
67-
if ( ! $changeStream->valid()) {
67+
if (! $changeStream->valid()) {
6868
continue;
6969
}
7070
$event = $changeStream->current();

source/includes/usage-examples/read-code-examples.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
$changeStream = $collection->watch();
5454

5555
for ($changeStream->rewind(); true; $changeStream->next()) {
56-
if ( ! $changeStream->valid()) {
56+
if (! $changeStream->valid()) {
5757
continue;
5858
}
5959
$event = $changeStream->current();

0 commit comments

Comments
 (0)