From 5420cfca362496c44492649998a6fafa20d80e5b Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Tue, 7 Nov 2017 15:25:27 +0100 Subject: [PATCH] [Stopwatch] minor fix --- src/Symfony/Component/Stopwatch/Stopwatch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Stopwatch/Stopwatch.php b/src/Symfony/Component/Stopwatch/Stopwatch.php index 8ad93165bf..6663632bdc 100644 --- a/src/Symfony/Component/Stopwatch/Stopwatch.php +++ b/src/Symfony/Component/Stopwatch/Stopwatch.php @@ -30,7 +30,7 @@ class Stopwatch public function __construct() { - $this->sections = $this->activeSections = array('__root__' => new Section('__root__')); + $this->sections = $this->activeSections = array('__root__' => new Section(null)); } /**