Skip to content

Commit

Permalink
Make parsedBody nullable (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
limingxinleo authored Jun 15, 2023
1 parent 2f680b6 commit 7acc492
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Message/ServerRequestPlusInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ public function setCookieParams(array $cookies): static;
/** @param array<string, string> $cookies */
public function withCookieParams(array $cookies): static;

/** @return array<mixed>|object */
public function getParsedBody(): array|object;
/** @return array<mixed>|object|null */
public function getParsedBody(): array|object|null;

/** @param array<mixed>|object $data */
public function setParsedBody(array|object $data): static;
/** @param array<mixed>|object|null $data */
public function setParsedBody(array|object|null $data): static;

/** @param array<mixed>|object $data */
public function withParsedBody($data): static;
Expand Down

0 comments on commit 7acc492

Please sign in to comment.