Skip to content

Commit 26590d6

Browse files
author
Joe Bennett
committed
#42227 update phpdoc to recommend createIndex over ensureIndex
1 parent 9487816 commit 26590d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Store/MongoDbStore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ private function skimUri(string $uri): string
168168
*
169169
* Alternatively the TTL index can be created manually on the database:
170170
*
171-
* db.lock.ensureIndex(
171+
* db.lock.createIndex(
172172
* { "expires_at": 1 },
173173
* { "expireAfterSeconds": 0 }
174174
* )

0 commit comments

Comments
 (0)