public function createComment($id, $message) { $api = $this->client->api('issue')->comments(); $comment = $api->create($this->getUsername(), $this->getRepository(), $id, ['body' => $message]); return $comment['html_url']; }