Skip to content

Commit fc62e53

Browse files
committed
Merge remote-tracking branch 'main_repo/master'
2 parents c90ed70 + 138ff3d commit fc62e53

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/DebugBar/DataCollector/TimeDataCollector.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,12 +164,13 @@ public function addMeasure($label, $start, $end, $params = array(), $collector =
164164
* @param string $label
165165
* @param \Closure $closure
166166
* @param string|null $collector
167+
* @param string|null $group
167168
* @return mixed
168169
*/
169-
public function measure($label, \Closure $closure, $collector = null)
170+
public function measure($label, \Closure $closure, $collector = null, $group = null)
170171
{
171172
$name = spl_object_hash($closure);
172-
$this->startMeasure($name, $label, $collector);
173+
$this->startMeasure($name, $label, $collector, $group);
173174
$result = $closure();
174175
$params = is_array($result) ? $result : array();
175176
$this->stopMeasure($name, $params);

src/DebugBar/Resources/widgets.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ div.phpdebugbar-widgets-messages {
112112
div.phpdebugbar-widgets-messages li.phpdebugbar-widgets-list-item span.phpdebugbar-widgets-value.phpdebugbar-widgets-critical:before {
113113
content: "\f057";
114114
}
115+
.phpdebugbar-widgets-params .phpdebugbar-widgets-value pre.sf-dump,
115116
dl.phpdebugbar-widgets-kvlist dd.phpdebugbar-widgets-value pre.sf-dump,
116117
div.phpdebugbar-widgets-messages li.phpdebugbar-widgets-list-item pre.sf-dump {
117118
display: inline-block !important;

0 commit comments

Comments
 (0)