Skip to content

Commit 1d21026

Browse files
author
Wilhem Arthur
committed
used shorthand array syntax
1 parent 2b23c79 commit 1d21026

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Github/Api/User.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public function orgs()
9393
*
9494
* @return array list of followed users
9595
*/
96-
public function following($username, array $parameters = array(), array $requestHeaders = array())
96+
public function following($username, array $parameters = [], array $requestHeaders = [])
9797
{
9898
return $this->get('/users/'.rawurlencode($username).'/following', $parameters, $requestHeaders);
9999
}

0 commit comments

Comments
 (0)