We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc836ba commit 6e96cf6Copy full SHA for 6e96cf6
lib/Github/Api/Organization/Teams.php
@@ -83,7 +83,7 @@ public function repository($team, $username, $repository)
83
return $this->get('teams/'.rawurlencode($team).'/repos/'.rawurlencode($username).'/'.rawurlencode($repository));
84
}
85
86
- public function addRepository($team, $username, $repository, array $params)
+ public function addRepository($team, $username, $repository, $params = array())
87
{
88
if (isset($params['permission']) && !in_array($params['permission'], array('pull', 'push', 'admin'))) {
89
$params['permission'] = 'pull';
0 commit comments