Passed
Pull Request — master (#23)
by Ronan
05:57 queued 10s
created
config/routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 $app->map(['GET', 'POST'], '/deploy/{key}/{deployment}', ProjectController::class . ':redeploy')
27 27
     ->setName('project.redeploy');
28 28
 
29
-$app->group('/api/project', function (App $app) {
29
+$app->group('/api/project', function(App $app) {
30 30
     $app->map(['GET'], '/{key}/events/{number}', ApiController::class . ':events');
31 31
 });
32 32
 
Please login to merge, or discard this patch.
src/Controller/Traits/ApiTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
         if (is_null($code)) {
48 48
             $code = 400;
49 49
         }
50
-        $data = [ 'message' => $message ];
50
+        $data = ['message' => $message];
51 51
         return $this->renderJson(
52 52
             $response,
53 53
             'error',
Please login to merge, or discard this patch.