diff --git a/CurlClient.php b/CurlClient.php index 313654b..cbbfb3e 100644 --- a/CurlClient.php +++ b/CurlClient.php @@ -186,7 +186,9 @@ class CurlClient extends ClientAbstracts */ public function close(): void { - curl_close($this->client); + if (PHP_VERSION < 80000) { + curl_close($this->client); + } }