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 c9ac1b9 commit 735ac63Copy full SHA for 735ac63
src/Symfony/Component/Cache/Adapter/DoctrineDbalAdapter.php
@@ -376,7 +376,7 @@ private function getServerVersion(): string
376
}
377
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();
+ $conn = $this->conn->getNativeConnection();
380
if ($conn instanceof ServerInfoAwareConnection) {
381
return $this->serverVersion = $conn->getServerVersion();
382
0 commit comments