File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Symfony/Component/Lock/Store Expand file tree Collapse file tree 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)
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 )) {
You can’t perform that action at this time.
0 commit comments