From 3627220062fb5888e2679f295fce3c7f940ff89a Mon Sep 17 00:00:00 2001 From: AMPHP Bot Date: Sun, 31 Dec 2023 22:55:10 +0100 Subject: [PATCH] Sync http-server.md --- http-server.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http-server.md b/http-server.md index cd5cc72..db6bbaf 100644 --- a/http-server.md +++ b/http-server.md @@ -193,7 +193,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!", );