Skip to content

Commit

Permalink
remove unneeded condition
Browse files Browse the repository at this point in the history
check is always true (enforced by strict typing)
  • Loading branch information
mjaschen committed Jan 19, 2024
1 parent 100aaf8 commit a036051
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Client/Curl.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ protected function initCurl(): void

protected function destroyCurl(): void
{
if (!empty($this->curl)) {
curl_close($this->curl);
}
curl_close($this->curl);
}

/**
Expand Down

0 comments on commit a036051

Please sign in to comment.