Skip to content

Commit

Permalink
Use right class for reporting actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jarofgreen committed Apr 3, 2011
1 parent 9a6d488 commit 65620c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ReadGit.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
**/


class GitCommit extends CoderAction {
class GitCommitAction extends CoderAction {

}

Expand Down
2 changes: 1 addition & 1 deletion src/ReadGitHub.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 65620c4

Please sign in to comment.