Skip to content

Commit aa57e32

Browse files
committed
Remove deprecated curl_close() for PHP 8.5 compatibility
curl_close() has been a no-op since PHP 8.0 and is deprecated since PHP 8.5. CurlHandle objects are freed automatically when they fall out of scope. Fixes #1177
1 parent b785b8b commit aa57e32

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/Core/Client/Adapter/Curl.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ public function getResponse($handle, $httpResponse): Response
6262
}
6363

6464
$this->check($data, $headers, $handle);
65-
curl_close($handle);
6665

6766
return new Response($data, $headers);
6867
}

0 commit comments

Comments
 (0)