Skip to content

Commit cd1bc47

Browse files
committed
Update QueryCollector.php
1 parent e4bc8fd commit cd1bc47

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/DataCollector/QueryCollector.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,14 @@ protected function normalizeFilename($path)
258258
}
259259
return str_replace(base_path(), '', $path);
260260
}
261+
262+
/**
263+
* Reset the queries.
264+
*/
265+
public function reset()
266+
{
267+
$this->queries = array();
268+
}
261269

262270
/**
263271
* {@inheritDoc}

0 commit comments

Comments
 (0)