modify plugin name

This commit is contained in:
2022-06-09 10:03:14 +08:00
parent 5d395bd6f4
commit 9a93687c53
+1 -1
View File
@@ -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([