Skip to content

Commit 33517c0

Browse files
committed
Add missing parameter names to user/repos endpoint
1 parent fc2bd55 commit 33517c0

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
@@ -100,9 +100,9 @@ public function organizations()
100100
public function repositories($type = 'owner', $sort = 'full_name', $direction = 'asc')
101101
{
102102
return $this->get('user/repos', array(
103-
$type,
104-
$sort,
105-
$direction
103+
'type' => $type,
104+
'sort' => $sort,
105+
'direction' => $direction
106106
));
107107
}
108108

0 commit comments

Comments
 (0)