Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b5d4eaf

Browse filesBrowse files
committed
fixed CS
1 parent 78ecaf3 commit b5d4eaf
Copy full SHA for b5d4eaf

File tree

1 file changed

+3
-3
lines changed
Filter options

1 file changed

+3
-3
lines changed

‎src/Symfony/Component/Lock/Store/PdoStore.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Lock/Store/PdoStore.php
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
3030
* CAUTION: This store relies on all client and server nodes to have
3131
* synchronized clocks for lock expiry to occur at the correct time.
32-
* To ensure locks don't expire prematurely; the ttl's should be set with enough
32+
* To ensure locks don't expire prematurely; the TTLs should be set with enough
3333
* extra time to account for any clock drift between nodes.
3434
*
3535
* @author Jérémy Derussé <jeremy@derusse.com>
@@ -79,7 +79,7 @@ public function __construct($connOrDsn, array $options = array(), float $gcProba
7979
throw new InvalidArgumentException(sprintf('"%s" requires gcProbability between 0 and 1, "%f" given.', __METHOD__, $gcProbability));
8080
}
8181
if ($initialTtl < 1) {
82-
throw new InvalidArgumentException(sprintf('%s() expects a strictly positive TTL. Got %d.', __METHOD__, $initialTtl));
82+
throw new InvalidArgumentException(sprintf('%s() expects a strictly positive TTL, "%d" given.', __METHOD__, $initialTtl));
8383
}
8484

8585
if ($connOrDsn instanceof \PDO) {
@@ -210,7 +210,7 @@ public function exists(Key $key)
210210
}
211211

212212
/**
213-
* Returns an hashed version of the key.
213+
* Returns a hashed version of the key.
214214
*/
215215
private function getHashedKey(Key $key): string
216216
{

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.