Passed
Pull Request — master (#29)
by Ronan
03:55
created
config/routes.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,13 +13,13 @@  discard block
 block discarded – undo
13 13
 use Psr\Http\Message\ServerRequestInterface;
14 14
 
15 15
 
16
-$app->get('/', function (ServerRequestInterface $request, ResponseInterface $response) {
16
+$app->get('/', function(ServerRequestInterface $request, ResponseInterface $response) {
17 17
     return $response->withRedirect(
18 18
         Router::pathFor('project.index')
19 19
     );
20 20
 });
21 21
 
22
-$app->group('/projects', function (App $app) {
22
+$app->group('/projects', function(App $app) {
23 23
     $app->get('', ProjectController::class . ':index')
24 24
         ->setName('project.index');
25 25
     $app->map(['GET', 'POST'], '/add', ProjectController::class . ':add')
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
         ->setName('project.view');
37 37
 });
38 38
 
39
-$app->group('/api/project', function (App $app) {
39
+$app->group('/api/project', function(App $app) {
40 40
     $app->map(['GET'], '/{key}/events/{number}', ApiController::class . ':events');
41 41
 });
42 42
 // Webhook route is outside normal API routing, mainly for obscurity and brevity
Please login to merge, or discard this patch.