@@ -26,7 +26,7 @@ |
||
| 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 | |
@@ -47,7 +47,7 @@ |
||
| 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', |
@@ -72,7 +72,7 @@ |
||
| 72 | 72 | $arr[$header]['times']['start'] |
| 73 | 73 | ); |
| 74 | 74 | } |
| 75 | - $header = $event->header; |
|
| 75 | + $header = $event->header; |
|
| 76 | 76 | $arr[$header]['id'] = $event->id; |
| 77 | 77 | $arr[$header]['times'] = [ |
| 78 | 78 | 'start' => $event->created, |