Skip to content

Commit 217754a

Browse files
committed
Remove curl_close call that is deprecated since PHP 8.5 and has not
effect since PHP 8.0 (close #5)
1 parent 4de39f7 commit 217754a

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/Xternalsoft/Whois/Loaders/CurlLoader.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ public function loadText($whoisHost, $query)
102102
$result = curl_exec($curl);
103103
$errstr = curl_error($curl);
104104
$errno = curl_errno($curl);
105-
curl_close($curl);
106105
fclose($input);
107106

108107
if ($result === false) {

0 commit comments

Comments
 (0)