From 1b55b289788d5c49187481e421d949fe409a27c1 Mon Sep 17 00:00:00 2001
From: Taylor Otwell <taylor@laravel.com>
Date: Thu, 27 Jun 2019 08:07:16 -0500
Subject: [PATCH] formatting

---
 src/Illuminate/Database/Connection.php | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/Illuminate/Database/Connection.php b/src/Illuminate/Database/Connection.php
index 32d562d5efe6..9341a2fc8551 100755
--- a/src/Illuminate/Database/Connection.php
+++ b/src/Illuminate/Database/Connection.php
@@ -901,10 +901,7 @@ public function getDoctrineConnection()
                 'pdo' => $this->getPdo(),
                 'dbname' => $this->getConfig('database'),
                 'driver' => $driver->getName(),
-                // One can manually pass the serverVersion config to the database connection
-                // options. This is used by Doctrine instead of going through the regular
-                // regular platform version detection. This config was not being used.
-                'serverVersion' => $this->getConfig('serverVersion'),
+                'serverVersion' => $this->getConfig('server_version'),
             ]), $driver);
         }