Skip to content

Commit 5312ea5

Browse files
committed
Merge pull request #63 from cballou/patch-1
Update CurrentUser.php
2 parents ebfefc9 + 32ec61d commit 5312ea5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

lib/Github/Api/CurrentUser.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,14 @@ public function watched($page = 1)
100100
'page' => $page
101101
));
102102
}
103+
104+
/**
105+
* @link http://developer.github.com/changes/2012-9-5-watcher-api/
106+
*/
107+
public function starred($page = 1)
108+
{
109+
return $this->get('user/starred', array(
110+
'page' => $page
111+
));
112+
}
103113
}

0 commit comments

Comments
 (0)