Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0cd583c

Browse filesBrowse files
bug #50562 [Lock] Fix sprintf (fancyweb)
This PR was merged into the 5.4 branch. Discussion ---------- [Lock] Fix sprintf | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | no | Deprecations? | - | Tickets | - | License | MIT | Doc PR | - Commits ------- c71400a [Lock] Fix sprintf
2 parents 3336571 + c71400a commit 0cd583c
Copy full SHA for 0cd583c

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Lock/Store/DoctrineDbalPostgreSqlStore.php
+1-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.