File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,16 @@ public function organizations()
8888 return $ this ->get ('user/orgs ' );
8989 }
9090
91+ /**
92+ * @link https://developer.github.com/v3/orgs/teams/#list-user-teams
93+ *
94+ * @return array
95+ */
96+ public function teams ()
97+ {
98+ return $ this ->get ('user/teams ' );
99+ }
100+
91101 /**
92102 * @link http://developer.github.com/v3/repos/#list-your-repositories
93103 *
@@ -113,7 +123,7 @@ public function watchers()
113123 {
114124 return new Watchers ($ this ->client );
115125 }
116-
126+
117127 /**
118128 * @deprecated Use watchers() instead
119129 */
@@ -123,7 +133,7 @@ public function watched($page = 1)
123133 'page ' => $ page
124134 ));
125135 }
126-
136+
127137 /**
128138 * @return Starring
129139 */
You can’t perform that action at this time.
0 commit comments