diff --git a/lib/Client.php b/lib/Client.php index 88a2599..c152d91 100644 --- a/lib/Client.php +++ b/lib/Client.php @@ -588,7 +588,12 @@ protected function curlExec($curlHandle): string { $this->headerLinesMap[(int) $curlHandle] = []; - return curl_exec($curlHandle); + $result = curl_exec($curlHandle); + if (false === $result) { + $result = ''; + } + + return $result; } /**