Skip to content

Commit 6e96cf6

Browse files
committed
Fix test. Whoops.
1 parent dc836ba commit 6e96cf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Github/Api/Organization/Teams.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function repository($team, $username, $repository)
8383
return $this->get('teams/'.rawurlencode($team).'/repos/'.rawurlencode($username).'/'.rawurlencode($repository));
8484
}
8585

86-
public function addRepository($team, $username, $repository, array $params)
86+
public function addRepository($team, $username, $repository, $params = array())
8787
{
8888
if (isset($params['permission']) && !in_array($params['permission'], array('pull', 'push', 'admin'))) {
8989
$params['permission'] = 'pull';

0 commit comments

Comments
 (0)