@@ -58,7 +58,8 @@ |
||
58 | 58 | { |
59 | 59 | $dispatcher = Controller::create($router, $compiler); |
60 | 60 | |
61 | - return new Server(function (ServerRequestInterface $request) use ($router, $dispatcher, $compiler) { |
|
61 | + return new Server(function (ServerRequestInterface $request) use ($router, $dispatcher, $compiler) |
|
62 | + { |
|
62 | 63 | $httpMethod = $request->getMethod(); |
63 | 64 | $urlPath = Controller::normalizeUrl($request->getUri()->getPath()); |
64 | 65 |