Skip to content

Commit

Permalink
feat: doctrine/dbal 4 support (#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
latvianization authored Mar 5, 2024
1 parent 7e9cbad commit 3e1a695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Check/DoctrineDbal.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function __construct(ConnectionRegistry $registry, $connectionName = null
public function check()
{
$connection = $this->manager->getConnection($this->connectionName);
$query = $connection->getDriver()->getDatabasePlatform()->getDummySelectSQL();
$query = $connection->getDriver()->getDatabasePlatform($connection)->getDummySelectSQL();

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

0 comments on commit 3e1a695

Please sign in to comment.