From 481f71d22f59d6b758e2bb0fbe99e1a7b1be76c7 Mon Sep 17 00:00:00 2001 From: Tobias Schultze Date: Sun, 28 Jul 2019 18:16:24 +0200 Subject: [PATCH] [Stopwatch] fix wrong nullable type --- 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 19e59bec501f5..9a3fe56d86e78 100644 --- a/src/Symfony/Component/Stopwatch/Stopwatch.php +++ b/src/Symfony/Component/Stopwatch/Stopwatch.php @@ -81,7 +81,7 @@ public function openSection(string $id = null) * * @throws \LogicException When there's no started section to be stopped */ - public function stopSection(?string $id) + public function stopSection(string $id) { $this->stop('__section__');