This commit is contained in:
Zach Borboa
2021-09-23 21:28:18 -04:00
parent b12fedd018
commit 3bc40c0138
+1 -1
View File
@@ -478,7 +478,7 @@ class Curl
$this->curlError = $this->curlErrorCode !== 0;
// Ensure Curl::rawResponse is a string as curl_exec() can return false.
// Without this, calling strlen($curl->rawResponse) will error the
// Without this, calling strlen($curl->rawResponse) will error when the
// strict types setting is enabled.
if (!is_string($this->rawResponse)) {
$this->rawResponse = '';