8000 [Lock] Fix sprintf · symfony/symfony@c71400a · GitHub
[go: up one dir, main page]

Skip to content

Commit c71400a

Browse files
committed
[Lock] Fix sprintf
1 parent 3336571 commit c71400a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ private function unlockShared(Key $key): void
275275
private function filterDsn(string $dsn): string
276276
{
277277
if (!str_contains($dsn, '://')) {
278-
throw new InvalidArgumentException(sprintf('String "%" is not a valid DSN for Doctrine DBAL.', $dsn));
278+
throw new InvalidArgumentException(sprintf('String "%s" is not a valid DSN for Doctrine DBAL.', $dsn));
279279
}
280280

281281
[$scheme, $rest] = explode(':', $dsn, 2);

0 commit comments

Comments
 (0)
0