8000 fixed CS · symfony/symfony@b5d4eaf · GitHub
[go: up one dir, main page]

Skip to content

Commit b5d4eaf

committed
fixed CS
1 parent 78ecaf3 commit b5d4eaf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines 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