Passed
Push — master ( d93a6d...5a06fd )
by Dmitrij
03:06
created
routes.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
7 7
 use \HotRodCli\Api\GetCommand;
8 8
 
9 9
 /** @var \Slim\App $api */
10
-$api->post('/create/{command}', function (ServerRequestInterface $request, ResponseInterface $response, $args) use ($app) {
10
+$api->post('/create/{command}', function(ServerRequestInterface $request, ResponseInterface $response, $args) use ($app) {
11 11
     return $response->getBody()->write($app->resolve(Processor::class)($request, $args));
12 12
 });
13 13
 
@@ -19,6 +19,6 @@  discard block
 block discarded – undo
19 19
     return $response->getBody()->write($app->resolve(GetCommand::class)($args));
20 20
 });
21 21
 
22
-$api->get('/', function (ServerRequestInterface $request, ResponseInterface $response) {
22
+$api->get('/', function(ServerRequestInterface $request, ResponseInterface $response) {
23 23
     return $response->withStatus(302)->withHeader('Location', '/dist/ui-app');
24 24
 });
Please login to merge, or discard this patch.