Skip to content

Commit e3899f5

Browse files
authored
Fix deprecation message placeholders
1 parent a0d778e commit e3899f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Cache/Adapter/DoctrineDbalAdapter.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function __construct($connOrDsn, string $namespace = '', int $defaultLife
7070
}
7171
$this->conn = DriverManager::getConnection(['url' => $connOrDsn]);
7272
} else {
73-
throw new \TypeError(sprintf('Argument 1 passed to "%s()" must be "%s" or string, "%s" given.', Connection::class, __METHOD__, get_debug_type($connOrDsn)));
73+
throw new \TypeError(sprintf('Argument 1 passed to "%s()" must be "%s" or string, "%s" given.', __METHOD__, Connection::class, get_debug_type($connOrDsn)));
7474
}
7575

7676
$this->table = $options['db_table'] ?? $this->table;

0 commit comments

Comments
 (0)