diff --git a/lib/Github/Api/Repo.php b/lib/Github/Api/Repo.php index 9be29c0cfa1..071eab4843d 100644 --- a/lib/Github/Api/Repo.php +++ b/lib/Github/Api/Repo.php @@ -49,22 +49,22 @@ public function find($keyword, array $params = array()) */ public function activity($username, $repository) { - return $this->get('repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/stats/commit_activity'); + return $this->get('repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/stats/commit_activity'); } - /** - * Get contributor commit statistics for a repository - * @link http://developer.github.com/v3/repos/statistics/#contributors - * - * @param string $username the user who owns the repository - * @param string $repository the name of the repository - * - * @return array list of contributors and their commit statistics - */ - public function statistics($username, $repository) - { - return $this->get('repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/stats/contributors'); - } + /** + * Get contributor commit statistics for a repository + * @link http://developer.github.com/v3/repos/statistics/#contributors + * + * @param string $username the user who owns the repository + * @param string $repository the name of the repository + * + * @return array list of contributors and their commit statistics + */ + public function statistics($username, $repository) + { + return $this->get('repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/stats/contributors'); + } /** * List all repositories for an organization