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