Passed
Pull Request — 2.x.x (#12)
by Koldo
05:34 queued 02:40
created
src/DriftKernelAdapter.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -40,12 +40,12 @@  discard block
 block discarded – undo
40 40
         string $rootPath,
41 41
         ?FilesystemInterface $filesystem
42 42
     ) {
43
-        $container = require $rootPath . '/config/container.php';
43
+        $container = require $rootPath.'/config/container.php';
44 44
         assert($container instanceof ContainerInterface);
45 45
         $application = $container->get(Application::class);
46 46
         assert($application instanceof ReactApplication);
47
-        (require $rootPath . '/router/middleware.php')($application, $container);
48
-        (require $rootPath . '/router/routes.php')($application, $container);
47
+        (require $rootPath.'/router/middleware.php')($application, $container);
48
+        (require $rootPath.'/router/routes.php')($application, $container);
49 49
         $this->container = $container;
50 50
         $this->application = $application;
51 51
         $this->serverContext = $serverContext;
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
         }
69 69
 
70 70
         return resolve(new self($serverContext, $mimeTypeChecker, $rootPath, $filesystem))
71
-            ->then(fn (KernelAdapter $adapter): KernelAdapter => $adapter);
71
+            ->then(fn(KernelAdapter $adapter): KernelAdapter => $adapter);
72 72
     }
73 73
 
74 74
     /**
Please login to merge, or discard this patch.