8000 minor #26206 [Stopwatch] updated phpdoc due to the addition of option… · RunOpenCode/symfony@3ab3b44 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3ab3b44

Browse files
minor symfony#26206 [Stopwatch] updated phpdoc due to the addition of optional float precision (lsmith77)
This PR was merged into the 3.4 branch. Discussion ---------- [Stopwatch] updated phpdoc due to the addition of optional float precision | Q | A | ------------- | --- | Branch? | 3.4/4.0 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | symfony#26204 | License | MIT | Doc PR | - Commits ------- 8278a47 updated StopwatchEvent phpdoc due to the additional of optional float precision introduced in 0db8d7f
2 parents ba8a68f + 8278a47 commit 3ab3b44

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Symfony/Component/Stopwatch/StopwatchEvent.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public function getPeriods()
150150
/**
151151
* Gets the relative time of the start of the first period.
152152
*
153-
* @return int The time (in milliseconds)
153+
* @return int|float The time (in milliseconds)
154154
*/
155155
public function getStartTime()
156156
{
@@ -160,7 +160,7 @@ public function getStartTime()
160160
/**
161161
* Gets the relative time of the end of the last period.
162162
*
163-
* @return int The time (in milliseconds)
163+
* @return int|float The time (in milliseconds)
164164
*/
165165
public function getEndTime()
166166
{
@@ -172,7 +172,7 @@ public function getEndTime()
172172
/**
173173
* Gets the duration of the events (including all periods).
174174
*
175-
* @return int The duration (in milliseconds)
175+
* @return int|float The duration (in milliseconds)
176176
*/
177177
public function getDuration()
178178
{

0 commit comments

Comments
 (0)
0