public function createCommitComment($ref, $note, array $params = array()) { $data = $this->api('repo')->createCommitComment($this->id, $ref, $note, $params); return CommitNote::fromArray($this->getClient(), $data); }