lib/GitHub/Receiver/Issues.php
public function editIssue(int $number, string $title = '', string $body = '', string $assignee = '',
                              int $milestone = 0, array $labels = []): array
    {
        return $this->getApi()->request($this->getApi()
                                             ->sprintf('/repos/:owner/:repo/issues/:number', $this->getOwner(),
                                                 $this->getRepo(), $number), Request::METHOD_PATCH, [
                'title'     => $title,
                'body'      => $body,
                'assignee'  => $assignee,
                'milestone' => $milestone,
                'labels'    => $labels
            ]);
    }
public function editIssue(int $number, string $title = '', string $body = '', string $assignee = '',
                              int $milestone = 0, array $labels = []): array
    {
        return $this->getApi()->request($this->getApi()
                                             ->sprintf('/repos/:owner/:repo/issues/:number', $this->getOwner(),
                                                 $this->getRepo(), $number), Request::METHOD_PATCH, [
                'title'     => $title,
                'body'      => $body,
                'assignee'  => $assignee,
                'milestone' => $milestone,
                'labels'    => $labels
            ]);
    }
public function editIssue ( int $ number , string $ title = '' , string $ body = '' , string $ assignee = '' , int $ milestone = 0 , array $ labels = [ ] ) : array { return $ this -> getApi ( ) -> request ( $ this -> getApi ( ) -> sprintf ( '/repos/:owner/:repo/issues/:number' , $ this -> getOwner ( ) , $ this -> getRepo ( ) , $ number ) , Request :: METHOD_PATCH , [ 'title' => $ title , 'body' => $ body , 'assignee' => $ assignee , 'milestone' => $ milestone , 'labels' => $ labels ] ) ; }
Edit an issue

@link https://developer.github.com/v3/issues/#edit-an-issue

@param int    $number
@param string $title
@param string $body
@param string $assignee
@param int    $milestone
@param array  $labels

@return array
Edit an issue