From 0dc20e2e2a282bb1da957f1754dcac4bda0e9e87 Mon Sep 17 00:00:00 2001 From: Denny Septian Panggabean <97607754+ddevsr@users.noreply.github.com> Date: Thu, 14 Aug 2025 14:01:38 +0700 Subject: [PATCH] refactor: remove curl_close has no effect since PHP 8.0 --- system/HTTP/CURLRequest.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/system/HTTP/CURLRequest.php b/system/HTTP/CURLRequest.php index f0a4b8153716..7014ca418a43 100644 --- a/system/HTTP/CURLRequest.php +++ b/system/HTTP/CURLRequest.php @@ -733,8 +733,6 @@ protected function sendRequest(array $curlOptions = []): string throw HTTPException::forCurlError((string) curl_errno($ch), curl_error($ch)); } - curl_close($ch); - return $output; }