Skip to content

Commit 6e59711

Browse files
committed
fix whitespace per JM comment
1 parent 3435135 commit 6e59711

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

source/includes/indexes/indexes.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
// start-index-single-query
3030
$document = $collection->findOne(['title' => 'Sweethearts']);
31-
echo json_encode($document) , PHP_EOL;
31+
echo json_encode($document), PHP_EOL;
3232
// end-index-single-query
3333

3434
// start-multikey
@@ -39,5 +39,5 @@
3939
$document = $collection->findOne(
4040
['cast' => ['$in' => ['Aamir Khan', 'Kajol']]]
4141
);
42-
echo json_encode($document) , PHP_EOL;
42+
echo json_encode($document), PHP_EOL;
4343
// end-index-array-query

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function toJSON(object $document): string
3838

3939
// start-search-list
4040
foreach ($collection->listSearchIndexes() as $indexInfo) {
41-
echo toJSON($indexInfo) , PHP_EOL;
41+
echo toJSON($indexInfo), PHP_EOL;
4242
}
4343
// end-search-list
4444

0 commit comments

Comments
 (0)