From 85d63b297ddd2eea20366717029903df96ae8206 Mon Sep 17 00:00:00 2001 From: Mike Date: Mon, 12 Jan 2026 12:26:31 +0100 Subject: [PATCH] Remove unnecessary curl_close call Function curl_close() is deprecated since 8.5, as it has no effect since PHP 8.0 --- lib/Client.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/Client.php b/lib/Client.php index 5d32bbe..2dd1628 100644 --- a/lib/Client.php +++ b/lib/Client.php @@ -529,8 +529,6 @@ public function makeRequest($method, $url, $body = null, $headers = null, $retry return $this->retryRequest($responseHeaders, $method, $url, $body, $headers); } - curl_close($channel); - return $response; }