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