Passed
Branch master (5c7a8d)
by Diego
04:26
created
Category
src/Resolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     ) : \Psr\Http\Message\ResponseInterface {
32 32
         $middlewares[] = Caller::class;
33 33
 
34
-        $relayBuilder = new RelayBuilder(function ($instance) use ($class, $method, $vars) {
34
+        $relayBuilder = new RelayBuilder(function($instance) use ($class, $method, $vars) {
35 35
             if ($instance == Caller::class) {
36 36
                 return new $instance($class, $method, $vars);
37 37
             }
Please login to merge, or discard this patch.
src/Bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
         $request = \Zend\Diactoros\ServerRequestFactory::fromGlobals();
118 118
 
119 119
         $dispatcher = \FastRoute\cachedDispatcher(
120
-            function (\FastRoute\RouteCollector $r) use ($routes) {
120
+            function(\FastRoute\RouteCollector $r) use ($routes) {
121 121
                 foreach ($routes as $route) {
122 122
                     $r->addRoute($route['methods'], $route['endpoint'], $route['call']);
123 123
                 }
Please login to merge, or discard this patch.
src/Controller.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -150,8 +150,7 @@
 block discarded – undo
150 150
         }
151 151
 
152 152
         return isset($this->i18n[$lang][$file][$key]) ?
153
-            $this->i18n[$lang][$file][$key] :
154
-            $fileKey
153
+            $this->i18n[$lang][$file][$key] : $fileKey
155 154
         ;
156 155
     }
157 156
 
Please login to merge, or discard this patch.