Skip to content

Commit 542813e

Browse files
Merge branch '4.4' into 5.2
* 4.4: [ErrorHandler][Debug] Do not use the php80 polyfill #42229 update phpdoc to recommend createIndex over ensureIndex
2 parents 8ee7431 + 74abdd6 commit 542813e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Session/Storage/Handler/MongoDbSessionHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class MongoDbSessionHandler extends AbstractSessionHandler
5151
* A TTL collections can be used on MongoDB 2.2+ to cleanup expired sessions
5252
* automatically. Such an index can for example look like this:
5353
*
54-
* db.<session-collection>.ensureIndex(
54+
* db.<session-collection>.createIndex(
5555
* { "<expiry-field>": 1 },
5656
* { "expireAfterSeconds": 0 }
5757
* )

0 commit comments

Comments
 (0)