1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-07-24 18:22:03 +02:00

Update TimeDataCollector.php

This commit is contained in:
Barry vd. Heuvel
2017-02-15 10:19:02 +01:00
committed by GitHub
parent df866f5a8e
commit c8dbda2793

View File

@@ -224,7 +224,8 @@ class TimeDataCollector extends DataCollector implements Renderable
{
$headers = array();
foreach ($this->collect()['measures'] as $k => $m) {
$data = $this->collect();
foreach ($data['measures'] as $k => $m) {
$headers[] = sprintf('%d=%F; "%s"', $k, $m['duration'], str_replace('"', "'", $m['label']));
}