Skip to content

Commit 3e1a695

Browse files
feat: doctrine/dbal 4 support (#299)
1 parent 7e9cbad commit 3e1a695

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Check/DoctrineDbal.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function __construct(ConnectionRegistry $registry, $connectionName = null
2424
public function check()
2525
{
2626
$connection = $this->manager->getConnection($this->connectionName);
27-
$query = $connection->getDriver()->getDatabasePlatform()->getDummySelectSQL();
27+
$query = $connection->getDriver()->getDatabasePlatform($connection)->getDummySelectSQL();
2828

2929
// after dbal 2.11 fetchOne replace fetchColumn
3030
if (method_exists($connection, 'fetchOne')) {

0 commit comments

Comments
 (0)