Passed
Push — master ( 2c2744...7da672 )
by Divine Niiquaye
11:42
created
src/Routers/SymfonyRouter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
      */
117 117
     public function buildRoutes(array $routes): void
118 118
     {
119
-        $resource = static function () use ($routes): RouteCollection {
119
+        $resource = static function() use ($routes): RouteCollection {
120 120
             $sfCollection = new RouteCollection();
121 121
 
122 122
             foreach ($routes as $route) {
Please login to merge, or discard this patch.
src/Routers/SunriseRouter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
                 $route['pattern'],
122 122
                 $route['methods'],
123 123
                 new CallableRequestHandler(
124
-                    function (ServerRequestInterface $request): ResponseInterface {
124
+                    function(ServerRequestInterface $request): ResponseInterface {
125 125
                         return (new ResponseFactory())->createJsonResponse(200, [
126 126
                             'status' => 'ok',
127 127
                             'method' => $request->getMethod(),
Please login to merge, or discard this patch.
src/benchmark.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 ];
39 39
 
40 40
 // This generates routes for router and matches them.
41
-$routerGenerator = static function (array $config, CaseInterface $strategy, string $router) {
41
+$routerGenerator = static function(array $config, CaseInterface $strategy, string $router) {
42 42
     [$type, $isolated, $nbRoutes, $nbHosts, $cache] = $config;
43 43
 
44 44
     $generator = new RouteGenerator($isolated, $nbRoutes, $nbHosts);
Please login to merge, or discard this patch.