Passed
Push — main ( c5612c...d21d40 )
by Thomas
02:40
created
src/App.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
120 120
         $registry->addAnyway(ResponseFactoryInterface::class, \Nyholm\Psr7\Factory\Psr17Factory::class);
121 121
         $registry->addAnyway(StreamFactoryInterface::class, \Nyholm\Psr7\Factory\Psr17Factory::class);
122 122
         $registry->addAnyway(ResponseFactory::class, new ResponseFactory($this->registry));
123
-        $registry->addAnyway(ServerRequestInterface::class, function (): ServerRequestInterface {
123
+        $registry->addAnyway(ServerRequestInterface::class, function(): ServerRequestInterface {
124 124
             try {
125 125
                 $psr17Factory = new \Nyholm\Psr7\Factory\Psr17Factory();
126 126
                 $creator = new \Nyholm\Psr7Server\ServerRequestCreator(
Please login to merge, or discard this patch.
src/Registry.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -142,8 +142,7 @@
 block discarded – undo
142 142
         // If $paramName is emtpy an existing unbound entry should
143 143
         // be found on first try.
144 144
         return isset($this->entries[$id . $paramName]) ?
145
-            $this->resolveEntry($this->entries[$id . $paramName]) :
146
-            $this->get($id);
145
+            $this->resolveEntry($this->entries[$id . $paramName]) : $this->get($id);
147 146
     }
148 147
 
149 148
     protected function resolveEntry(Entry $entry): mixed
Please login to merge, or discard this patch.