Skip to content

Commit

Permalink
Fix typo in README.md (#361)
Browse files Browse the repository at this point in the history
Replacing `Status::OK` with `HttpStatus::OK` to be consistent with the rest of the document.
  • Loading branch information
razshare authored Dec 31, 2023
1 parent 4b580fe commit f15d804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ $requestHandler = new class implements RequestHandler {
public function handleRequest(Request $request): Response
{
return new Response(
status: Status::OK,
status: HttpStatus::OK,
headers: ["content-type" => "text/plain; charset=utf-8"],
body: "Hello, World!",
);
Expand Down

0 comments on commit f15d804

Please sign in to comment.