Changed return value

这个提交包含在:
Michael 2019-10-01 19:02:26 +00:00
父节点 2c730a5c45
当前提交 c37663f1c1
共有 1 个文件被更改,包括 2 次插入2 次删除

查看文件

@ -228,7 +228,7 @@ class CurlResult
*
* @param string $field optional header field. Return all fields if empty
*
* @return string|bool the Curl headers, "false" when field isn't found
* @return string the Curl headers or the specified content of the header variable
*/
public function getHeader(string $field = '')
{
@ -245,7 +245,7 @@ class CurlResult
}
}
return false;
return '';
}
/**