Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions Economic/API/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand All @@ -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
Expand Down