8000 fabbot · symfony/symfony@e9cc00b · GitHub
[go: up one dir, main page]

Skip to content

Commit e9cc00b

Browse files
committed
fabbot
1 parent 001c7bb commit e9cc00b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public function save(Key $key)
146146
public function putOffExpiration(Key $key, float $ttl)
147147
{
148148
if ($ttl < 1) {
149-
throw new InvalidTtlException(sprintf('"%s()" expects a TTL greater or equals to 1 second. Got %s.', __METHOD__, $ttl));
149+
throw new InvalidTtlException(sprintf('"%s()" expects a TTL greater or equals to 1 second. Got "%s".', __METHOD__, $ttl));
150150
}
151151

152152
$key->reduceLifetime($ttl);
@@ -287,7 +287,7 @@ public function createTable(): void
287287
public function configureSchema(Schema $schema): void
288288
{
289289
if (!$this->getConnection() instanceof Connection) {
290-
throw new \BadMethodCallException(sprintf('%s::%s is only supported when using a doctrine/dbal Connection', __CLASS__, __METHOD__));
290+
throw new \BadMethodCallException(sprintf('"%s::%s()" is only supported when using a doctrine/dbal Connection.', __CLASS__, __METHOD__));
291291
}
292292

293293
if ($schema->hasTable($this->table)) {

0 commit comments

Comments
 (0)
0