改名
This commit is contained in:
@@ -44,7 +44,7 @@ class HttpParams
|
|||||||
if (!is_array($body)) {
|
if (!is_array($body)) {
|
||||||
$this->body = Help::toArray($body);
|
$this->body = Help::toArray($body);
|
||||||
} else {
|
} else {
|
||||||
$this->body = $body;
|
$this->body = $body ?? [];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user