We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34c0f67 commit 996bdeaCopy full SHA for 996bdea
src/ServiceProvider.php
@@ -56,11 +56,11 @@ public function register()
56
private function formatDuration($seconds)
57
{
58
if ($seconds < 0.001) {
59
- return round($seconds * 1000000) . 'μs';
60
- } else if ($seconds < 1) {
61
- return round($seconds * 1000, 2) . 'ms';
+ return round($seconds * 1000000).'μs';
+ } elseif ($seconds < 1) {
+ return round($seconds * 1000, 2).'ms';
62
}
63
64
- return round($seconds, 2) . 's';
+ return round($seconds, 2).'s';
65
66
0 commit comments