public function createIssue(string $title, string $body = '', string $assignee = '', int $milestone = 0,
                                array $labels = []): array
    {
        return $this->getApi()->request($this->getApi()->sprintf('/repos/:owner/:repo/issues', $this->getOwner(),
            $this->getRepo()), Request::METHOD_POST, [
                'title'     => $title,
                'body'      => $body,
                'assignee'  => $assignee,
                'milestone' => $milestone,
                'labels'    => $labels
            ]);
    }