lib/Github/Api/Issue/Labels.php
public function replace($username, $repository, $issue, array $params)
    {
        return $this->put('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/issues/'.rawurlencode($issue).'/labels', $params);
    }
public function replace($username, $repository, $issue, array $params)
    {
        return $this->put('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/issues/'.rawurlencode($issue).'/labels', $params);
    }
public function replace ( $ username , $ repository , $ issue , array $ params ) { return $ this -> put ( '/repos/' . rawurlencode ( $ username ) . '/' . rawurlencode ( $ repository ) . '/issues/' . rawurlencode ( $ issue ) . '/labels' , $ params ) ; }
Replace labels for an issue.

@link https://developer.github.com/v3/issues/labels/#replace-all-labels-for-an-issue

@param string $username
@param string $repository
@param int    $issue
@param array  $params

@return array
Replace labels for an issue .