add clear
This commit is contained in:
@@ -709,7 +709,7 @@ class HttpClient
|
||||
} else if (strpos($type, 'json') !== false) {
|
||||
return json_decode($body, true);
|
||||
} else if (strpos($type, 'xml') !== false) {
|
||||
return Help::toArray($body);
|
||||
return Help::xmlToArray($body);
|
||||
} else if (strpos($type, 'plain') !== false) {
|
||||
return Help::toArray($body);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user