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
            ]);
    }