add clear
This commit is contained in:
@@ -546,11 +546,8 @@ class HttpClient
|
||||
*/
|
||||
private function toRequest($data)
|
||||
{
|
||||
if (!is_array($data)) {
|
||||
$data = Help::toArray($data);
|
||||
if (is_string($data)) {
|
||||
return $data;
|
||||
}
|
||||
if (is_string($data)) {
|
||||
return $data;
|
||||
}
|
||||
|
||||
$contentType = 'application/x-www-form-urlencoded';
|
||||
|
||||
Reference in New Issue
Block a user