Skip to content

Commit a03ddbc

Browse files
committed
Merge branch 'v1.9'
* v1.9: Add #[ReturnTypeWillChange] and related `@return` (#855) PHPLIB-706 Fix syntax error in docs example (#853)
2 parents 383e1ab + 2b1f468 commit a03ddbc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/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)