minor #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 | https://github.com/symfony/symfony/issues/26204 | License | MIT | Doc PR | - Commits -------8278a47
updated StopwatchEvent phpdoc due to the additional of optional float precision introduced in0db8d7fb6a
This commit is contained in:
commit
3ab3b44720
@ -150,7 +150,7 @@ class StopwatchEvent
|
||||
/**
|
||||
* Gets the relative time of the start of the first period.
|
||||
*
|
||||
* @return int The time (in milliseconds)
|
||||
* @return int|float The time (in milliseconds)
|
||||
*/
|
||||
public function getStartTime()
|
||||
{
|
||||
@ -160,7 +160,7 @@ class StopwatchEvent
|
||||
/**
|
||||
* Gets the relative time of the end of the last period.
|
||||
*
|
||||
* @return int The time (in milliseconds)
|
||||
* @return int|float The time (in milliseconds)
|
||||
*/
|
||||
public function getEndTime()
|
||||
{
|
||||
@ -172,7 +172,7 @@ class StopwatchEvent
|
||||
/**
|
||||
* Gets the duration of the events (including all periods).
|
||||
*
|
||||
* @return int The duration (in milliseconds)
|
||||
* @return int|float The duration (in milliseconds)
|
||||
*/
|
||||
public function getDuration()
|
||||
{
|
||||
|
Reference in New Issue
Block a user