Skip to content

Commit

Permalink
Reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
anthony-webart committed Sep 3, 2024
1 parent f4e822e commit e16a14c
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions lib/Github/Api/Copilot/Usage.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,27 @@ class Usage extends AbstractApi
{
public function orgUsageSummary(string $organization, array $params = []): array
{
return $this->get('/orgs/' . rawurlencode($organization) . '/copilot/usage', $params);
return $this->get('/orgs/'.rawurlencode($organization).'/copilot/usage', $params);
}

public function orgTeamUsageSummary(string $organization, string $teamSlug, array $params = []): array
{
return $this->get('/orgs/' . rawurlencode($organization) . '/teams/' . rawurlencode($teamSlug) . '/copilot/usage', $params);
return $this->get(
'/orgs/'.rawurlencode($organization).'/teams/'.rawurlencode($teamSlug).'/copilot/usage',
$params
);
}

public function enterpriseUsageSummary(string $enterprise, array $params = []): array
{
return $this->get('/enterprises/' . rawurlencode($enterprise) . '/copilot/usage', $params);
return $this->get('/enterprises/'.rawurlencode($enterprise).'/copilot/usage', $params);
}

public function enterpriseTeamUsageSummary(string $enterprise, string $teamSlug, array $params = []): array
{
return $this->get('/enterprises/' . rawurlencode($enterprise) . '/teams/' . rawurlencode($teamSlug) . '/copilot/usage', $params);
return $this->get(
'/enterprises/'.rawurlencode($enterprise).'/teams/'.rawurlencode($teamSlug).'/copilot/usage',
$params
);
}
}

0 comments on commit e16a14c

Please sign in to comment.