lib/GitHub/Receiver/Issues/Labels.php
public function removeIssueLabel(int $number, string $name): bool
    {
        $this->getApi()->request($this->getApi()->sprintf('/repos/:owner/:repo/issues/:number/labels/:name',
            $this->getIssues()->getOwner(), $this->getIssues()->getRepo(), $number, $name), Request::METHOD_DELETE);

        if ($this->getApi()->getHeaders()['Status'] == '204 No Content') {
            return true;
        }

        return false;
    }
public function removeIssueLabel(int $number, string $name): bool
    {
        $this->getApi()->request($this->getApi()->sprintf('/repos/:owner/:repo/issues/:number/labels/:name',
            $this->getIssues()->getOwner(), $this->getIssues()->getRepo(), $number, $name), Request::METHOD_DELETE);

        if ($this->getApi()->getHeaders()['Status'] == '204 No Content') {
            return true;
        }

        return false;
    }
public function removeIssueLabel ( int $ number , string $ name ) : bool { $ this -> getApi ( ) -> request ( $ this -> getApi ( ) -> sprintf ( '/repos/:owner/:repo/issues/:number/labels/:name' , $ this -> getIssues ( ) -> getOwner ( ) , $ this -> getIssues ( ) -> getRepo ( ) , $ number , $ name ) , Request :: METHOD_DELETE ) ; if ( $ this -> getApi ( ) -> getHeaders ( ) [ 'Status' ] == '204 No Content' ) { return true ; } return false ; }
Remove a label from an issue

@link https://developer.github.com/v3/issues/labels/#remove-a-label-from-an-issue

@param int    $number
@param string $name

@return bool
Remove a label from an issue