@@ -42,7 +42,7 @@ |
||
| 42 | 42 | new LimitConcurrentRequestsMiddleware($config['max_concurrency']), |
| 43 | 43 | new RequestBodyBufferMiddleware($config['buffer_size']), |
| 44 | 44 | new RequestBodyParserMiddleware(), |
| 45 | - static fn (ServerRequestInterface $request): PromiseInterface => resolve($application->handle($request)) |
|
| 45 | + static fn(ServerRequestInterface $request): PromiseInterface => resolve($application->handle($request)) |
|
| 46 | 46 | ); |
| 47 | 47 | |
| 48 | 48 | return $server; |
@@ -32,12 +32,12 @@ discard block |
||
| 32 | 32 | string $rootPath, |
| 33 | 33 | ?object $filesystem |
| 34 | 34 | ) { |
| 35 | - $container = require $rootPath . '/config/container.php'; |
|
| 35 | + $container = require $rootPath.'/config/container.php'; |
|
| 36 | 36 | assert($container instanceof ContainerInterface); |
| 37 | 37 | $application = $container->get(Application::class); |
| 38 | 38 | assert($application instanceof ReactApplication); |
| 39 | - (require $rootPath . '/router/middleware.php')($application, $container); |
|
| 40 | - (require $rootPath . '/router/routes.php')($application, $container); |
|
| 39 | + (require $rootPath.'/router/middleware.php')($application, $container); |
|
| 40 | + (require $rootPath.'/router/routes.php')($application, $container); |
|
| 41 | 41 | $this->container = $container; |
| 42 | 42 | $this->application = $application; |
| 43 | 43 | $this->serverContext = $serverContext; |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | } |
| 61 | 61 | |
| 62 | 62 | return resolve(new self($serverContext, $mimeTypeChecker, $rootPath, $filesystem)) |
| 63 | - ->then(fn (KernelAdapter $adapter): KernelAdapter => $adapter); |
|
| 63 | + ->then(fn(KernelAdapter $adapter): KernelAdapter => $adapter); |
|
| 64 | 64 | } |
| 65 | 65 | |
| 66 | 66 | /** |