From 65620c4c0de63c858bed9a98d67d64d1d15fd82e Mon Sep 17 00:00:00 2001 From: James Date: Sun, 3 Apr 2011 08:26:48 +0100 Subject: [PATCH] Use right class for reporting actions --- src/ReadGit.php | 2 +- src/ReadGitHub.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); }