Skip to content

Commit

Permalink
Fix invalid body check
Browse files Browse the repository at this point in the history
  • Loading branch information
jenky committed Jun 22, 2023
1 parent b7647bf commit 16642f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public function headers(): Map
*/
public function body(): PayloadInterface
{
if (! $this->body instanceof Map) {
if (! $this->body instanceof PayloadInterface) {
$this->body = $this->definePayload();
}

Expand Down

0 comments on commit 16642f9

Please sign in to comment.