Skip to content

Commit

Permalink
symfony#27345 fixed typo and @param indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Bennett committed May 31, 2018
1 parent f3cc220 commit ec8d217
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Symfony/Component/Lock/Store/MongoDbStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class MongoDbStore implements StoreInterface

/**
* @param \MongoDB\Client $mongo
* @param array $options
* @param array $options
*
* database: The name of the database [required]
* collection: The name of the collection [default: lock]
Expand All @@ -53,11 +53,10 @@ class MongoDbStore implements StoreInterface
* @see http://docs.mongodb.org/manual/tutorial/expire-data/
*
* Please note, the Symfony\Component\Lock\Key's $resource
* must not exceed 1024 bytes including structual overhead.
*
* must not exceed 1024 bytes including structural overhead.
* @see https://docs.mongodb.com/manual/reference/limits/#Index-Key-Limit
*
* @param float $initialTtl The expiration delay of locks in seconds
* @param float $initialTtl The expiration delay of locks in seconds
*/
public function __construct(\MongoDB\Client $mongo, array $options, float $initialTtl = 300.0)
{
Expand Down

0 comments on commit ec8d217

Please sign in to comment.