Skip to content

Commit 1d86964

Browse files
Merge branch '5.4' into 6.2
* 5.4: [DoctrineBridge] Work around "Doctrine\DBAL\Connection::getEventManager()" deprecations [Routing] Fix Psalm [Lock] Fix sprintf Fix Crawler::filter throw phpdoc
2 parents c968672 + 173c519 commit 1d86964

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Store/DoctrineDbalPostgreSqlStore.php

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

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

0 commit comments

Comments
 (0)