Skip to content

Commit

Permalink
#42227 update phpdoc to recommend createIndex over ensureIndex
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Bennett committed Jul 22, 2021
1 parent 9487816 commit 26590d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Store/MongoDbStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ private function skimUri(string $uri): string
*
* Alternatively the TTL index can be created manually on the database:
*
* db.lock.ensureIndex(
* db.lock.createIndex(
* { "expires_at": 1 },
* { "expireAfterSeconds": 0 }
* )
Expand Down

0 comments on commit 26590d6

Please sign in to comment.