From f15d804495b54b93847f43cd968ad7a84521d528 Mon Sep 17 00:00:00 2001 From: Razvan Date: Sun, 31 Dec 2023 21:55:29 +0100 Subject: [PATCH] Fix typo in README.md (#361) Replacing `Status::OK` with `HttpStatus::OK` to be consistent with the rest of the document. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 62ffc921..7b7d8ee4 100644 --- a/README.md +++ b/README.md @@ -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!", );