Skip to content

Commit 18c4050

Browse files
authored
PHPLIB-706 Fix syntax error in docs example (#853)
1 parent 105e728 commit 18c4050

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/tutorial/collation.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ specify a collation.
206206
$collection = (new MongoDB\Client)->test->names;
207207

208208
$document = $collection->findOneAndUpdate(
209-
['first_name' => ['$lt' =-> 'Gunter']],
209+
['first_name' => ['$lt' => 'Gunter']],
210210
['$set' => ['verified' => true]]
211211
);
212212

@@ -231,7 +231,7 @@ specified, which uses the locale ``de@collation=phonebook``.
231231
$collection = (new MongoDB\Client)->test->names;
232232

233233
$document = $collection->findOneAndUpdate(
234-
['first_name' => ['$lt' =-> 'Gunter']],
234+
['first_name' => ['$lt' => 'Gunter']],
235235
['$set' => ['verified' => true]],
236236
[
237237
'collation' => ['locale' => 'de@collation=phonebook'],

0 commit comments

Comments
 (0)