This commit is contained in:
2021-05-08 11:14:25 +08:00
parent e9b4add62e
commit d454e66cc0
-3
View File
@@ -208,9 +208,6 @@ class HttpParams
*/
#[Pure] public function load(): array
{
if (is_string($this->body)){
$this->body = Help::toArray($this->body);
}
return array_merge($this->files ?? [], $this->body ?? [], $this->gets ?? [], $this->socket ?? []);
}