Completed
Push — master ( c61dde...010af7 )
by Diego
02:25
created
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   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -153,8 +153,7 @@  discard block
 block discarded – undo
153 153
         }
154 154
 
155 155
         return isset($this->i18n[$lang][$file][$key]) ?
156
-            $this->i18n[$lang][$file][$key] :
157
-            $fileKey
156
+            $this->i18n[$lang][$file][$key] : $fileKey
158 157
         ;
159 158
     }
160 159
 
@@ -171,7 +170,7 @@  discard block
 block discarded – undo
171 170
         $definition = explode('.', $key);
172 171
         $item = isset($config[$definition[0]]) ? $config[$definition[0]] : null;
173 172
 
174
-        $numberOfDefinitions =  count($definition);
173
+        $numberOfDefinitions = count($definition);
175 174
 
176 175
         for ($i = 1; $i < $numberOfDefinitions; ++$i) {
177 176
             $item = isset($item[$definition[$i]]) ? $item[$definition[$i]] : null;
Please login to merge, or discard this patch.