From 085ed8ae061598d588c1fea064e0017b2dece12a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joel=20Gr=C3=B8ndrup?= Date: Mon, 22 Jun 2026 11:53:56 +0200 Subject: [PATCH] Remove deprecated curl_close calls (PHP 8.5) --- Economic/API/Client.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Economic/API/Client.php b/Economic/API/Client.php index 6897b13..c3b7616 100644 --- a/Economic/API/Client.php +++ b/Economic/API/Client.php @@ -70,7 +70,6 @@ public function __construct(string $secret_token = '', string $grant_token = '', public function shutdown(): void { if (! empty($this->ch)) { - curl_close($this->ch); $this->ch = false; } } @@ -85,9 +84,6 @@ public function shutdown(): void public function create($idempotency_key = ''): void { // @codeCoverageIgnoreStart - if (! empty($this->ch)) { - curl_close($this->ch); - } // @codeCoverageIgnoreEnd // Instantiate cURL object