From 9a93687c53bcb31e5f04278d6f20c0f4f26937fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Thu, 9 Jun 2022 10:03:14 +0800 Subject: [PATCH] modify plugin name --- Connection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Connection.php b/Connection.php index b45a13a..10497e7 100644 --- a/Connection.php +++ b/Connection.php @@ -149,7 +149,7 @@ class Connection extends Component */ public function getMasterClient(): PDO { - if ($this->_pdo) { + if ($this->_pdo instanceof PDO) { return $this->_pdo; } return $this->connections()->get([