mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-01-16 21:08:34 +01:00
Add spaces
This commit is contained in:
parent
ebe4e87851
commit
5dcce0235a
@ -52,9 +52,9 @@ abstract class DataCollector implements DataCollectorInterface
|
||||
*/
|
||||
public function formatDuration($seconds)
|
||||
{
|
||||
if($seconds < 0.001){
|
||||
if ($seconds < 0.001) {
|
||||
return round($seconds * 1000000) . 'μs';
|
||||
}elseif ($seconds < 1) {
|
||||
} else if ($seconds < 1) {
|
||||
return round($seconds * 1000, 2) . 'ms';
|
||||
}
|
||||
return round($seconds, 2) . 's';
|
||||
|
Loading…
x
Reference in New Issue
Block a user