diff --git a/src/Client/Curl.php b/src/Client/Curl.php index df9f22d..0f69061 100644 --- a/src/Client/Curl.php +++ b/src/Client/Curl.php @@ -53,9 +53,7 @@ protected function initCurl(): void protected function destroyCurl(): void { - if (!empty($this->curl)) { - curl_close($this->curl); - } + curl_close($this->curl); } /**