@@ -290,7 +290,7 @@ discard block |
||
290 | 290 | public function run(ServerRequestInterface $request) : ResponseInterface |
291 | 291 | { |
292 | 292 | // lazy resolving of the given request... |
293 | - $routing = new CallableRequestHandler(function (ServerRequestInterface $request) : ResponseInterface { |
|
293 | + $routing = new CallableRequestHandler(function(ServerRequestInterface $request) : ResponseInterface { |
|
294 | 294 | return $this->match($request)->handle($request); |
295 | 295 | }); |
296 | 296 | |
@@ -330,7 +330,7 @@ discard block |
||
330 | 330 | { |
331 | 331 | try { |
332 | 332 | return $this->handle($request); |
333 | - } catch (MethodNotAllowedException|PageNotFoundException $e) { |
|
333 | + } catch (MethodNotAllowedException | PageNotFoundException $e) { |
|
334 | 334 | $request = $request->withAttribute(self::ATTR_NAME_FOR_ROUTING_ERROR, $e); |
335 | 335 | |
336 | 336 | return $handler->handle($request); |
@@ -143,7 +143,7 @@ |
||
143 | 143 | $collect->setContainer($this->container); |
144 | 144 | |
145 | 145 | foreach ($this->resources as $resource) { |
146 | - (function () use ($resource) { |
|
146 | + (function() use ($resource) { |
|
147 | 147 | require $resource; |
148 | 148 | })->call($collect); |
149 | 149 | } |