Skip to content

Commit 8278a47

Browse files
committed
updated StopwatchEvent phpdoc due to the additional of optional float precision introduced in 0db8d7f
1 parent 7bcccef commit 8278a47

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)