public function getCommits($nb) { $commits = $this->getGitRepo()->getCommits(12); foreach ($commits as $key => $commit) { $commits[$key]['url'] = $this->entity->getGithubUrl() . '/commit/' . $commit['id']; } return $commits; }
public function getCommits($nb) { $commits = $this->getGitRepo()->getCommits(12); foreach ($commits as $key => $commit) { $commits[$key]['url'] = $this->entity->getGithubUrl() . '/commit/' . $commit['id']; } return $commits; }