8000 [Stopwatch] Add types to constructors and private/final/internal meth… · symfony/symfony@7dd56ff · GitHub
[go: up one dir, main page]

Skip to content

Commit 7dd56ff

Browse files
committed
[Stopwatch] Add types to constructors and private/final/internal methods.
1 parent f25eaed commit 7dd56ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Stopwatch/StopwatchEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ protected function getNow()
225225
*
226226
* @throws \InvalidArgumentException When the raw time is not valid
227227
*/
228-
private function formatTime(float $time)
228+
private function formatTime(float $time): float
229229
{
230230
return round($time, 1);
231231
}

0 commit comments

Comments
 (0)
0