改名
This commit is contained in:
@@ -208,9 +208,6 @@ class HttpParams
|
|||||||
*/
|
*/
|
||||||
#[Pure] public function load(): array
|
#[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 ?? []);
|
return array_merge($this->files ?? [], $this->body ?? [], $this->gets ?? [], $this->socket ?? []);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user