Skip to content

Commit 4afbcde

Browse files
Merge pull request #80 from trippo/patch-1
Remove deprecated function curl_close
2 parents f788d91 + 82c824f commit 4afbcde

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/Clients/IbericodeVatRatesClient.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ public function fetch(): array
2626
]);
2727
$body = (string) curl_exec($ch);
2828
$status = (int) curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
29-
curl_close($ch);
3029

3130
if ($body === '' || $status >= 400) {
3231
throw new ClientException("Error fetching rates from {$url}.");

0 commit comments

Comments
 (0)