@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | |
83 | 83 | unset($containerClone); |
84 | 84 | |
85 | - $routesPath = $routesFolder . DIRECTORY_SEPARATOR . $routesMask; |
|
85 | + $routesPath = $routesFolder.DIRECTORY_SEPARATOR.$routesMask; |
|
86 | 86 | } |
87 | 87 | |
88 | 88 | [$configurators, $middleware] |
@@ -273,13 +273,13 @@ discard block |
||
273 | 273 | callable $command, |
274 | 274 | PsrContainerInterface $container |
275 | 275 | ): Closure { |
276 | - $next = function (IoInterface $inOut) use ($command, $container): void { |
|
276 | + $next = function(IoInterface $inOut) use ($command, $container): void { |
|
277 | 277 | call_user_func($command, $container, $inOut); |
278 | 278 | }; |
279 | 279 | |
280 | 280 | for ($index = count($middleware) - 1; $index >= 0; $index--) { |
281 | 281 | $currentMiddleware = $middleware[$index]; |
282 | - $next = function (IoInterface $inOut) use ($currentMiddleware, $next, $container): void { |
|
282 | + $next = function(IoInterface $inOut) use ($currentMiddleware, $next, $container): void { |
|
283 | 283 | call_user_func($currentMiddleware, $inOut, $next, $container); |
284 | 284 | }; |
285 | 285 | } |
@@ -139,14 +139,14 @@ |
||
139 | 139 | $handler = $container->get(ThrowableHandlerInterface::class); |
140 | 140 | $response = $handler->createResponse($exception, $container); |
141 | 141 | |
142 | - $output->writeln((string)$response->getBody()); |
|
142 | + $output->writeln((string) $response->getBody()); |
|
143 | 143 | } else { |
144 | 144 | $message = $exception->getMessage(); |
145 | 145 | $file = $exception->getFile(); |
146 | 146 | $line = $exception->getLine(); |
147 | 147 | $trace = $exception->getTraceAsString(); |
148 | 148 | |
149 | - $output->writeln("$message at $file#$line" . PHP_EOL . $trace); |
|
149 | + $output->writeln("$message at $file#$line".PHP_EOL.$trace); |
|
150 | 150 | } |
151 | 151 | |
152 | 152 | throw $exception; |