Skip to content

Commit

Permalink
reset $this->queries
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu Lechat committed Nov 15, 2017
1 parent 14e685e commit 3471334
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions DataCollector/StandardDataCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public function collect(Request $request, Response $response, \Exception $except

public function reset()
{
$this->queries = [];
$this->data = [
'nb_queries' => 0,
'queries' => [],
Expand Down

0 comments on commit 3471334

Please sign in to comment.