diff --git a/src/ReadGit.php b/src/ReadGit.php index ecc7c65..de80de8 100644 --- a/src/ReadGit.php +++ b/src/ReadGit.php @@ -17,7 +17,7 @@ **/ -class GitCommit extends CoderAction { +class GitCommitAction extends CoderAction { } diff --git a/src/ReadGitHub.php b/src/ReadGitHub.php index 579c2a1..a115100 100644 --- a/src/ReadGitHub.php +++ b/src/ReadGitHub.php @@ -51,7 +51,7 @@ private function readBranchFromRepository($userName, $repository, $branch) { $gotResultsLastTime = true; foreach($data->commits as $idx=>$commit) { if (is_null($authors) || in_array($commit->author->email,$authors)) { - $data = new SVNCommitAction(); + $data = new GitCommitAction(); $data->setDateTime(new DateTime($commit->authored_date)); $this->dataManager->addData($data); }