We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fee4f68 commit 5610d20Copy full SHA for 5610d20
Check/DoctrineDbal.php
@@ -21,7 +21,13 @@ public function check()
21
{
22
$connection = $this->manager->getConnection($this->connectionName);
23
$query = $connection->getDriver()->getDatabasePlatform()->getDummySelectSQL();
24
- $connection->fetchColumn($query);
+
25
+ // after dbal 2.11 fetchOne replace fetchColumn
26
+ if (method_exists($connection, 'fetchOne')) {
27
+ $connection->fetchOne($query);
28
+ } else {
29
+ $connection->fetchColumn($query);
30
+ }
31
32
return new Success();
33
}
0 commit comments