Skip to content

[Lock] Remove deprecated option #18526

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions components/lock.rst
Original file line number Diff line number Diff line change
Expand Up @@ -474,18 +474,12 @@ The ``MongoDbStore`` takes the following ``$options`` (depending on the first pa
Option Description
============== ================================================================================================
gcProbability Should a TTL Index be created expressed as a probability from 0.0 to 1.0 (Defaults to ``0.001``)
gcProbablity Same as ``gcProbability``, see the deprecation note below
database The name of the database
collection The name of the collection
uriOptions Array of URI options for `MongoDBClient::__construct`_
driverOptions Array of driver options for `MongoDBClient::__construct`_
============= ================================================================================================

.. deprecated:: 6.3

The ``gcProbablity`` option (notice the typo in its name) is deprecated since
Symfony 6.3, use the ``gcProbability`` option instead.

When the first parameter is a:

``MongoDB\Collection``:
Expand Down