From 5364845995bcc3109aa615f53267c274d9d68777 Mon Sep 17 00:00:00 2001 From: Daniel Opitz Date: Thu, 29 Jun 2017 13:44:17 +0200 Subject: [PATCH] Fixed Xdebug issue in combination with isConnected() #10836 --- src/Database/Driver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Database/Driver.php b/src/Database/Driver.php index 0318f922674..281842475f0 100644 --- a/src/Database/Driver.php +++ b/src/Database/Driver.php @@ -386,7 +386,7 @@ public function __destruct() public function __debugInfo() { return [ - 'connected' => $this->isConnected() + 'connected' => $this->_connection !== null ]; } }