Skip to content

Commit

Permalink
symfony#37180 improved skimUri documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Bennett committed Jun 22, 2020
1 parent a5770aa commit 79fee70
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Symfony/Component/Lock/Store/MongoDbStore.php
Expand Up @@ -130,7 +130,11 @@ public function __construct($mongo, array $options = [], float $initialTtl = 300
}

/**
* Extract default database and collection from given connection uri and remove collection querystring.
* Extract default database and collection from given connection URI and remove collection querystring.
*
* Non-standard parameters are removed from the URI to improve libmongoc's re-use of connections.
*
* @see https://www.php.net/manual/en/mongodb.connection-handling.php
*/
private function skimUri(string $uri): string
{
Expand Down

0 comments on commit 79fee70

Please sign in to comment.