mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-07-25 18:51:42 +02:00
Update TimeDataCollector.php
This commit is contained in:
@@ -224,7 +224,8 @@ class TimeDataCollector extends DataCollector implements Renderable
|
|||||||
{
|
{
|
||||||
$headers = array();
|
$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']));
|
$headers[] = sprintf('%d=%F; "%s"', $k, $m['duration'], str_replace('"', "'", $m['label']));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user