Skip to content

Commit

Permalink
Change PSR-7 to PSR-3 in middleware example (#353)
Browse files Browse the repository at this point in the history
  • Loading branch information
cwhite92 authored Sep 1, 2023
1 parent 0f658eb commit 5057e59
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 @@ -205,7 +205,7 @@ $middleware = new class implements Middleware {
$stackedHandler = Middleware\stackMiddleware($requestHandler, $middleware);
$errorHandler = new DefaultErrorHandler();

// $logger is a PSR-7 logger instance.
// $logger is a PSR-3 logger instance.
$server = SocketHttpServer::createForDirectAccess($logger);
$server->expose('127.0.0.1:1337');
$server->start($stackedHandler, $errorHandler);
Expand Down

0 comments on commit 5057e59

Please sign in to comment.