Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 45d8931267 |
+3
-1
@@ -186,7 +186,9 @@ class CurlClient extends ClientAbstracts
|
|||||||
*/
|
*/
|
||||||
public function close(): void
|
public function close(): void
|
||||||
{
|
{
|
||||||
curl_close($this->client);
|
if (PHP_VERSION < 80000) {
|
||||||
|
curl_close($this->client);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user