Skip to content

Commit 6cac249

Browse files
javiereguiluzfabpot
authored andcommitted
Add support for microseconds in Stopwatch
1 parent 800e3cb commit 6cac249

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DependencyInjection/FrameworkExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ private function registerDebugConfiguration(array $config, ContainerBuilder $con
652652
$loader->load('debug_prod.xml');
653653

654654
if (class_exists(Stopwatch::class)) {
655-
$container->register('debug.stopwatch', Stopwatch::class);
655+
$container->register('debug.stopwatch', Stopwatch::class)->addArgument(true);
656656
$container->setAlias(Stopwatch::class, 'debug.stopwatch');
657657
}
658658

0 commit comments

Comments
 (0)