Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 538cc34

Browse filesBrowse files
committed
[Stopwatch] fix wrong nullable type
1 parent ff4528e commit 538cc34
Copy full SHA for 538cc34

File tree

3 files changed

+7
-2
lines changed
Filter options

3 files changed

+7
-2
lines changed

‎UPGRADE-5.0.md

Copy file name to clipboardExpand all lines: UPGRADE-5.0.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ Serializer
480480
Stopwatch
481481
---------
482482

483-
* Removed support of passing `null` as 1st (`$id`) argument of `Section::get()` method, pass a valid child section identifier instead.
483+
* Removed support for passing `null` as 1st (`$id`) argument of `Section::get()` method, pass a valid child section identifier instead.
484484

485485
Translation
486486
-----------

‎src/Symfony/Component/Stopwatch/CHANGELOG.md

Copy file name to clipboardExpand all lines: src/Symfony/Component/Stopwatch/CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
CHANGELOG
22
=========
33

4+
5.0.0
5+
-----
6+
7+
* Removed support for passing `null` as 1st (`$id`) argument of `Section::get()` method, pass a valid child section identifier instead.
8+
49
4.4.0
510
-----
611

‎src/Symfony/Component/Stopwatch/Stopwatch.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Stopwatch/Stopwatch.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function openSection(string $id = null)
8181
*
8282
* @throws \LogicException When there's no started section to be stopped
8383
*/
84-
public function stopSection(?string $id)
84+
public function stopSection(string $id)
8585
{
8686
$this->stop('__section__');
8787

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.