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

Skip to content

Commit 735ac63

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ private function getServerVersion(): string
376376
}
377377

378378
// 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();
379+
$conn = $this->conn->getNativeConnection();
380380
if ($conn instanceof ServerInfoAwareConnection) {
381381
return $this->serverVersion = $conn->getServerVersion();
382382
}

0 commit comments

Comments
 (0)
0