Skip to content

Commit 36ffefc

Browse files
committed
Fix DBAL 3 compat
1 parent 61ca928 commit 36ffefc

File tree

3 files changed

+422
-209
lines changed

3 files changed

+422
-209
lines changed

pkg/dbal/DbalConnectionFactory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ private function establishConnection(): Connection
9191
method_exists($this->connection, 'connect')
9292
&& (new \ReflectionMethod($this->connection, 'connect'))->isPublic()
9393
) {
94+
// TODO: remove check when dropping support for DBAL < 4
9495
// DBAL < 4
9596
$this->connection->connect();
9697
} else {

0 commit comments

Comments
 (0)