Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions lib/Github/Api/Repo.php
Original file line number Diff line number Diff line change
Expand Up @@ -420,12 +420,13 @@ public function languages($username, $repository)
*
* @param string $username the user who owns the repository
* @param string $repository the name of the repository
* @param array $params the additional parameters like milestone, assignees, labels, sort, direction
*
* @return array list of the repository tags
*/
public function tags($username, $repository)
public function tags($username, $repository, array $params = [])
{
return $this->get('repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/tags');
return $this->get('repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/tags', $params);
}

/**
Expand Down