This commit is contained in:
2023-08-18 20:39:34 +08:00
parent fa87bc30db
commit 0606952cf2
3 changed files with 3 additions and 7 deletions
+3
View File
@@ -382,6 +382,9 @@ class ConstrictRequest extends Message implements RequestInterface, ServerReques
public function getParsedBody(): object|array|null
{
// TODO: Implement getParsedBody() method.
if ($this->parsedBody instanceof \Closure) {
$this->parsedBody = call_user_func($this->parsedBody);
}
return $this->parsedBody;
}