Skip to content

Commit 6ecdb0a

Browse files
committed
style fix
1 parent 9f5071c commit 6ecdb0a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/Github/Api/Organization/Teams.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function remove($team, $organization = null)
8181
public function members($team, $organization = null)
8282
{
8383
if ($organization) {
84-
return $this->get('/orgs/'.rawurlencode($organization).'/teams/'.rawurlencode($team) . '/members');
84+
return $this->get('/orgs/'.rawurlencode($organization).'/teams/'.rawurlencode($team).'/members');
8585
}
8686

8787
return $this->get('/teams/'.rawurlencode($team).'/members');
@@ -93,7 +93,7 @@ public function members($team, $organization = null)
9393
public function check($team, $username, $organization = null)
9494
{
9595
if ($organization) {
96-
return $this->get('/orgs/'.rawurlencode($organization).'/teams/'.rawurlencode($team) . '/memberships/' . rawurlencode($username));
96+
return $this->get('/orgs/'.rawurlencode($organization).'/teams/'.rawurlencode($team).'/memberships/'.rawurlencode($username));
9797
}
9898

9999
return $this->get('/teams/'.rawurlencode($team).'/memberships/'.rawurlencode($username));
@@ -105,7 +105,7 @@ public function check($team, $username, $organization = null)
105105
public function addMember($team, $username, $organization = null)
106106
{
107107
if ($organization) {
108-
return $this->put('/orgs/'.rawurlencode($organization).'/teams/'.rawurlencode($team) . '/memberships/' . rawurlencode($username));
108+
return $this->put('/orgs/'.rawurlencode($organization).'/teams/'.rawurlencode($team).'/memberships/'.rawurlencode($username));
109109
}
110110

111111
return $this->put('/teams/'.rawurlencode($team).'/memberships/'.rawurlencode($username));
@@ -117,7 +117,7 @@ public function addMember($team, $username, $organization = null)
117117
public function removeMember($team, $username, $organization = null)
118118
{
119119
if ($organization) {
120-
return $this->delete('/orgs/'.rawurlencode($organization).'/teams/'.rawurlencode($team) . '/memberships/' . rawurlencode($username));
120+
return $this->delete('/orgs/'.rawurlencode($organization).'/teams/'.rawurlencode($team).'/memberships/'.rawurlencode($username));
121121
}
122122

123123
return $this->delete('/teams/'.rawurlencode($team).'/memberships/'.rawurlencode($username));

0 commit comments

Comments
 (0)