@@ -88,12 +88,14 @@ public function orgs()
88
88
* @link http://developer.github.com/v3/users/followers/
89
89
*
90
90
* @param string $username the username
91
+ * @param array $parameters parameters for the query string
92
+ * @param array $requestHeaders additional headers to set in the request
91
93
*
92
94
* @return array list of followed users
93
95
*/
94
- public function following ($ username )
96
+ public function following ($ username, array $ parameters = array (), array $ requestHeaders = array () )
95
97
{
96
- return $ this ->get ('/users/ ' .rawurlencode ($ username ).'/following ' );
98
+ return $ this ->get ('/users/ ' .rawurlencode ($ username ).'/following ' , $ parameters , $ requestHeaders );
97
99
}
98
100
99
101
/**
@@ -102,12 +104,14 @@ public function following($username)
102
104
* @link http://developer.github.com/v3/users/followers/
103
105
*
104
106
* @param string $username the username
107
+ * @param array $parameters parameters for the query string
108
+ * @param array $requestHeaders additional headers to set in the request
105
109
*
106
110
* @return array list of following users
107
111
*/
108
- public function followers ($ username )
112
+ public function followers ($ username, array $ parameters = array (), array $ requestHeaders = array () )
109
113
{
110
- return $ this ->get ('/users/ ' .rawurlencode ($ username ).'/followers ' );
114
+ return $ this ->get ('/users/ ' .rawurlencode ($ username ).'/followers ' , $ parameters , $ requestHeaders );
111
115
}
112
116
113
117
/**
0 commit comments