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!", );