File tree 1 file changed +2
-2
lines changed
src/Symfony/Component/Lock/Store
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ public function save(Key $key)
146
146
public function putOffExpiration (Key $ key , float $ ttl )
147
147
{
148
148
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 ));
150
150
}
151
151
152
152
$ key ->reduceLifetime ($ ttl );
@@ -287,7 +287,7 @@ public function createTable(): void
287
287
public function configureSchema (Schema $ schema ): void
288
288
{
289
289
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__ ));
291
291
}
292
292
293
293
if ($ schema ->hasTable ($ this ->table )) {
You can’t perform that action at this time.
0 commit comments