public function compare($project_id, $fromShaOrMaster, $toShaOrMaster) { return $this->get($this->getProjectPath($project_id, 'repository/compare?from=' . $this->encodeBranch($fromShaOrMaster) . '&to=' . $this->encodeBranch($toShaOrMaster))); }