Skip to content

Commit ef4aa09

Browse files
authored
Merge pull request #20 from stephanvierkant/patch-1
Implement reset method in GitDataCollector
2 parents 252708e + 0c0f50b commit ef4aa09

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

DataCollector/GitDataCollector.php

+8
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,14 @@ public function __construct($repositoryCommitUrl)
2121
$this->data['repositoryCommitUrl'] = $repositoryCommitUrl;
2222
}
2323

24+
/**
25+
* {@inheritdoc}
26+
*/
27+
public function reset()
28+
{
29+
$this->data = [];
30+
}
31+
2432
/**
2533
* Collect Git data for DebugBar (branch,commit,author,email,merge,date,message)
2634
*

0 commit comments

Comments
 (0)