diff --git a/src/Clients/IbericodeVatRatesClient.php b/src/Clients/IbericodeVatRatesClient.php index c9e891f..fd6bbc8 100644 --- a/src/Clients/IbericodeVatRatesClient.php +++ b/src/Clients/IbericodeVatRatesClient.php @@ -26,7 +26,6 @@ public function fetch(): array ]); $body = (string) curl_exec($ch); $status = (int) curl_getinfo($ch, CURLINFO_RESPONSE_CODE); - curl_close($ch); if ($body === '' || $status >= 400) { throw new ClientException("Error fetching rates from {$url}.");