|
@@ -32,12 +32,12 @@ discard block |
|
|
block discarded – undo |
|
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 |
|
|
block discarded – undo |
|
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
|
/** |
Please login to merge, or discard this patch.