8000 remove Doctrine DBAL < 3.3 related code · symfony/symfony@a924395 · GitHub
[go: up one dir, main page]

Skip to content

Commit a924395

Browse files
committed
remove Doctrine DBAL < 3.3 related code
1 parent c9ac1b9 commit a924395

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,8 +375,7 @@ private function getServerVersion(): string
375375
return $this->serverVersion;
376376
}
377377

378-
// The condition should be removed once support for DBAL <3.3 is dropped
379-
$conn = method_exists($this->conn, 'getNativeConnection') ? $this->conn->getNativeConnection() : $this->conn->getWrappedConnection();
378+
$conn = $this->conn->getNativeConnection();
380379
if ($conn instanceof ServerInfoAwareConnection) {
381380
return $this->serverVersion = $conn->getServerVersion();
382381
}

0 commit comments

Comments
 (0)
0