Skip to content

Commit 996bdea

Browse files
authored
Apply fixes from StyleCI (#8)
1 parent 34c0f67 commit 996bdea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ServiceProvider.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ public function register()
5656
private function formatDuration($seconds)
5757
{
5858
if ($seconds < 0.001) {
59-
return round($seconds * 1000000) . 'μs';
60-
} else if ($seconds < 1) {
61-
return round($seconds * 1000, 2) . 'ms';
59+
return round($seconds * 1000000).'μs';
60+
} elseif ($seconds < 1) {
61+
return round($seconds * 1000, 2).'ms';
6262
}
6363

64-
return round($seconds, 2) . 's';
64+
return round($seconds, 2).'s';
6565
}
6666
}

0 commit comments

Comments
 (0)