55use Github \Api \AbstractApi ;
66
77/**
8- * @link http ://developer.github.com/v3/repos /watching/
8+ * @link https ://developer.github.com/v3/activity /watching/
99 * @author Joseph Bielawski <stloyd@gmail.com>
10+ * @revised Felipe Valtl de Mello <eu@felipe.im>
1011 */
1112class Watchers extends AbstractApi
1213{
1314 /**
1415 * List repositories watched by the authenticated user
15- * @link http ://developer.github.com/v3/repos /watching/
16+ * @link https ://developer.github.com/v3/activity /watching/
1617 *
1718 * @param integer $page
1819 * @return array
@@ -26,7 +27,7 @@ public function all($page = 1)
2627
2728 /**
2829 * Check that the authenticated user watches a repository
29- * @link http ://developer.github.com/v3/repos /watching/
30+ * @link https ://developer.github.com/v3/activity /watching/
3031 *
3132 * @param string $username the user who owns the repo
3233 * @param string $repository the name of the repo
@@ -39,7 +40,7 @@ public function check($username, $repository)
3940
4041 /**
4142 * Make the authenticated user watch a repository
42- * @link http ://developer.github.com/v3/repos /watching/
43+ * @link https ://developer.github.com/v3/activity /watching/
4344 *
4445 * @param string $username the user who owns the repo
4546 * @param string $repository the name of the repo
@@ -52,7 +53,7 @@ public function watch($username, $repository)
5253
5354 /**
5455 * Make the authenticated user unwatch a repository
55- * @link http ://developer.github.com/v3/repos /watching/
56+ * @link https ://developer.github.com/v3/activity /watching/
5657 *
5758 * @param string $username the user who owns the repo
5859 * @param string $repository the name of the repo
0 commit comments