Passed
Pull Request — 2.x.x (#12)
by Koldo
05:21 queued 02:46
created
src/DriftKernelAdapter.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -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;
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
         $filesystem = null
57 57
     ): PromiseInterface {
58 58
         return resolve(new self($serverContext, $mimeTypeChecker, $rootPath, $filesystem))
59
-            ->then(fn (KernelAdapter $adapter): KernelAdapter => $adapter);
59
+            ->then(fn(KernelAdapter $adapter): KernelAdapter => $adapter);
60 60
     }
61 61
 
62 62
     /**
Please login to merge, or discard this patch.