diff --git a/lib/Github/Api/Copilot/Usage.php b/lib/Github/Api/Copilot/Usage.php index f738c697449..7ef246a9424 100644 --- a/lib/Github/Api/Copilot/Usage.php +++ b/lib/Github/Api/Copilot/Usage.php @@ -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 + ); } }