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