@@ -109,10 +109,10 @@ |
||
| 109 | 109 | */ |
| 110 | 110 | private static function formatTime(float $value, string $format): string { |
| 111 | 111 | return match ($format) { |
| 112 | - static::FORMAT_MILLISECONDS => (string)round($value * 1000, 2), |
|
| 113 | - static::FORMAT_SECONDS => (string)round($value, 3), |
|
| 112 | + static::FORMAT_MILLISECONDS => (string) round($value * 1000, 2), |
|
| 113 | + static::FORMAT_SECONDS => (string) round($value, 3), |
|
| 114 | 114 | static::FORMAT_HUMAN => static::secondsToTimeString($value), |
| 115 | - default => (string)($value * 1000), |
|
| 115 | + default => (string) ($value * 1000), |
|
| 116 | 116 | }; |
| 117 | 117 | } |
| 118 | 118 | |