5
5
use Github \Api \AbstractApi ;
6
6
7
7
/**
8
- * @link http ://developer.github.com/v3/repos /watching/
8
+ * @link https ://developer.github.com/v3/activity /watching/
9
9
* @author Joseph Bielawski <stloyd@gmail.com>
10
+ * @revised Felipe Valtl de Mello <eu@felipe.im>
10
11
*/
11
12
class Watchers extends AbstractApi
12
13
{
13
14
/**
14
15
* 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/
16
17
*
17
18
* @param integer $page
18
19
* @return array
@@ -26,7 +27,7 @@ public function all($page = 1)
26
27
27
28
/**
28
29
* 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/
30
31
*
31
32
* @param string $username the user who owns the repo
32
33
* @param string $repository the name of the repo
@@ -39,7 +40,7 @@ public function check($username, $repository)
39
40
40
41
/**
41
42
* 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/
43
44
*
44
45
* @param string $username the user who owns the repo
45
46
* @param string $repository the name of the repo
@@ -52,7 +53,7 @@ public function watch($username, $repository)
52
53
53
54
/**
54
55
* 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/
56
57
*
57
58
* @param string $username the user who owns the repo
58
59
* @param string $repository the name of the repo
0 commit comments