Skip to content

Commit 6993005

Browse files
committed
Fix typo
1 parent 1208508 commit 6993005

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/method/MongoDBCollection-withOptions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ preference:
4949

5050
<?php
5151

52-
$collection = (new MongoDB\Client)->selectCollect('test', 'restaurants');
52+
$collection = (new MongoDB\Client)->selectCollection('test', 'restaurants');
5353

5454
$newCollection = $sourceCollection->withOptions([
5555
'readPreference' => new MongoDB\Driver\ReadPreference(MongoDB\Driver\ReadPreference::RP_SECONDARY),

0 commit comments

Comments
 (0)