From 5dcce0235a4fe0412f7577845ec4360b90d5734b Mon Sep 17 00:00:00 2001 From: "Barry vd. Heuvel" Date: Wed, 2 Oct 2013 16:04:40 +0200 Subject: [PATCH] Add spaces --- src/DebugBar/DataCollector/DataCollector.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DebugBar/DataCollector/DataCollector.php b/src/DebugBar/DataCollector/DataCollector.php index ee55b87..8a8b87d 100644 --- a/src/DebugBar/DataCollector/DataCollector.php +++ b/src/DebugBar/DataCollector/DataCollector.php @@ -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';