Skip to content

Commit

Permalink
[Stopwatch] fix wrong nullable type
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobion committed Jul 28, 2019
1 parent 44e6250 commit 481f71d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/Stopwatch/Stopwatch.php
Expand Up @@ -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__');

Expand Down

0 comments on commit 481f71d

Please sign in to comment.