Skip to content

Commit

Permalink
:octocat: phan happy
Browse files Browse the repository at this point in the history
  • Loading branch information
codemasher committed Mar 15, 2024
1 parent d834450 commit 5b31b31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client/EchoClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function sendRequest(RequestInterface $request):ResponseInterface{

$response = $response
->withHeader('Content-Type', 'application/json')
->withHeader('Content-Length', strlen($content))
->withHeader('Content-Length', (string)strlen($content))
;

$response->getBody()->write($content);
Expand Down

0 comments on commit 5b31b31

Please sign in to comment.