lib/GitHub/Receiver/Issues/Labels.php
public function replaceIssuesLabels(int $number): array
    {
        return $this->getApi()->request($this->getApi()->sprintf('/repos/:owner/:repo/issues/:number/labels',
            $this->getIssues()->getOwner(), $this->getIssues()->getRepo(), $number), Request::METHOD_PUT);
    }
public function replaceIssuesLabels(int $number): array
    {
        return $this->getApi()->request($this->getApi()->sprintf('/repos/:owner/:repo/issues/:number/labels',
            $this->getIssues()->getOwner(), $this->getIssues()->getRepo(), $number), Request::METHOD_PUT);
    }
public function replaceIssuesLabels ( int $ number ) : array { return $ this -> getApi ( ) -> request ( $ this -> getApi ( ) -> sprintf ( '/repos/:owner/:repo/issues/:number/labels' , $ this -> getIssues ( ) -> getOwner ( ) , $ this -> getIssues ( ) -> getRepo ( ) , $ number ) , Request :: METHOD_PUT ) ; }
Replace all labels for an issue

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

@param int $number

@return array
Replace all labels for an issue