Skip to content

Commit

Permalink
[Stopwatch] Omit ? for default null
Browse files Browse the repository at this point in the history
  • Loading branch information
jschaedl committed Jun 29, 2019
1 parent 942b414 commit 2a62dbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/Stopwatch/Stopwatch.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function getSections()
*
* @throws \LogicException When the section to re-open is not reachable
*/
public function openSection(?string $id = null)
public function openSection(string $id = null)
{
$current = end($this->activeSections);

Expand Down

0 comments on commit 2a62dbb

Please sign in to comment.