From 6283d6cd49d4293d86c707df8452ec737931441e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Fri, 18 Aug 2023 15:05:05 +0800 Subject: [PATCH] qqq --- Connection.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Connection.php b/Connection.php index 63f264d..8c1ff48 100644 --- a/Connection.php +++ b/Connection.php @@ -158,10 +158,6 @@ class Connection extends Component throw new Exception('Pool waite timeout at ' . $this->waite_time); } - if (is_object($data)) { - return $data; - } - [$client, $time] = $data; if ((time() - $time) < $this->idle_time && $this->canUse($client)) { return $client;