From b2800b806c666eab2dd20296a2db4cb356c2e01f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Fri, 18 Aug 2023 19:50:43 +0800 Subject: [PATCH] qqq --- Client.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Client.php b/Client.php index 31dd77e..9286728 100644 --- a/Client.php +++ b/Client.php @@ -21,12 +21,8 @@ class Client * @param bool $isSsl * @param bool $useCurl */ - public function __construct(string $host, int $port, bool $isSsl = false, bool $useCurl = false) + public function __construct(string $host, int $port, bool $isSsl = false) { - if ($useCurl) { - $this->abstracts = new CurlClient($host, $port, $isSsl); - return; - } if (class_exists(Coroutine::class) && Coroutine::getCid() > -1) { $this->abstracts = new CoroutineClient($host, $port, $isSsl); } else {