@@ -19,7 +19,7 @@ |
||
| 19 | 19 | { |
| 20 | 20 | parent::__construct( |
| 21 | 21 | array_map( |
| 22 | - function ($insight) { |
|
| 22 | + function($insight) { |
|
| 23 | 23 | return new InsightResponse($insight); |
| 24 | 24 | }, |
| 25 | 25 | $insights |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | { |
| 20 | 20 | parent::__construct( |
| 21 | 21 | array_map( |
| 22 | - function ($metric) { |
|
| 22 | + function($metric) { |
|
| 23 | 23 | return new MetricResponse($metric); |
| 24 | 24 | }, |
| 25 | 25 | $metrics |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | { |
| 20 | 20 | parent::__construct( |
| 21 | 21 | array_map( |
| 22 | - function ($team) { |
|
| 22 | + function($team) { |
|
| 23 | 23 | return new TeamResponse($team); |
| 24 | 24 | }, |
| 25 | 25 | $teams |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | { |
| 20 | 20 | parent::__construct( |
| 21 | 21 | array_map( |
| 22 | - function ($organization) { |
|
| 22 | + function($organization) { |
|
| 23 | 23 | return new OrganizationResponse($organization); |
| 24 | 24 | }, |
| 25 | 25 | $organizations |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | { |
| 20 | 20 | parent::__construct( |
| 21 | 21 | array_map( |
| 22 | - function ($cron) { |
|
| 22 | + function($cron) { |
|
| 23 | 23 | return new CronResponse($cron); |
| 24 | 24 | }, |
| 25 | 25 | $crons |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | { |
| 20 | 20 | parent::__construct( |
| 21 | 21 | array_map( |
| 22 | - function ($server) { |
|
| 22 | + function($server) { |
|
| 23 | 23 | return new ServerResponse($server); |
| 24 | 24 | }, |
| 25 | 25 | $servers |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | { |
| 20 | 20 | parent::__construct( |
| 21 | 21 | array_map( |
| 22 | - function ($application) { |
|
| 22 | + function($application) { |
|
| 23 | 23 | return new ApplicationResponse($application); |
| 24 | 24 | }, |
| 25 | 25 | $applications |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | * @param string $branch |
| 37 | 37 | * @return OperationResponse |
| 38 | 38 | */ |
| 39 | - public function switch($environmentUuid, $branch) |
|
| 39 | + public function switch ($environmentUuid, $branch) |
|
| 40 | 40 | { |
| 41 | 41 | |
| 42 | 42 | $options = [ |
@@ -63,7 +63,7 @@ |
||
| 63 | 63 | */ |
| 64 | 64 | public function getVersion() |
| 65 | 65 | { |
| 66 | - if ($file = @file_get_contents(dirname(dirname(__DIR__)) . '/VERSION')) { |
|
| 66 | + if ($file = @file_get_contents(dirname(dirname(__DIR__)).'/VERSION')) { |
|
| 67 | 67 | return trim($file); |
| 68 | 68 | } else { |
| 69 | 69 | throw new \Exception('No VERSION file'); |