Skip to content

Commit 8475a2a

Browse files
committed
Merge pull request #201 from lyoshenka/missing-param-names-fix
Add missing parameter names to user/repos endpoint
2 parents dbbe29e + 33517c0 commit 8475a2a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/Github/Api/CurrentUser.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ public function teams()
110110
public function repositories($type = 'owner', $sort = 'full_name', $direction = 'asc')
111111
{
112112
return $this->get('user/repos', array(
113-
$type,
114-
$sort,
115-
$direction
113+
'type' => $type,
114+
'sort' => $sort,
115+
'direction' => $direction
116116
));
117117
}
118118

0 commit comments

Comments
 (0)