Skip to content

Commit dfc34fd

Browse files
authored
refactor: remove curl_close as has no effect since PHP 8.0 (#9683)
1 parent 1326621 commit dfc34fd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

system/HTTP/CURLRequest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -733,8 +733,6 @@ protected function sendRequest(array $curlOptions = []): string
733733
throw HTTPException::forCurlError((string) curl_errno($ch), curl_error($ch));
734734
}
735735

736-
curl_close($ch);
737-
738736
return $output;
739737
}
740738

0 commit comments

Comments
 (0)