Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f1f913 commit 9e84cd6Copy full SHA for 9e84cd6
src/Symfony/Component/Lock/Store/MongoDbStore.php
@@ -151,7 +151,7 @@ private function skimUri(string $uri): string
151
$prefix = $matches[1];
152
$this->options['collection'] = $matches[2];
153
if (empty($matches[4])) {
154
- $prefix = substr($prefix, 0, \strlen($prefix) - 1);
+ $prefix = substr($prefix, 0, -1);
155
}
156
$uri = $prefix.$matches[3];
157
0 commit comments