Completed
Pushf64ce5...b738d5
passed — Build
created
src/panels/ProfilingPanel.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,8 +21,8 @@  discard block
 block discarded – undo
21 21
     public function getLabel()
22 22
     {
23 23
         $memory = isset($this->data['memory']) ? sprintf('%.1f MB', $this->data['memory'] / 1048576) : '';
24
-        $time = isset($this->data['time']) ? number_format($this->data['time'] * 1000) . ' ms' : '';
25
-        return $this->getName() . ' <small>(' . $memory . ' / ' . $time . ')</small>';
24
+        $time = isset($this->data['time']) ? number_format($this->data['time'] * 1000).' ms' : '';
25
+        return $this->getName().' <small>('.$memory.' / '.$time.')</small>';
26 26
     }
27 27
 
28 28
     /**
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
             'dataProvider' => $dataProvider,
39 39
             'searchModel' => $searchModel,
40 40
             'memory' => isset($this->data['memory']) ? sprintf('%.1f MB', $this->data['memory'] / 1048576) : '',
41
-            'time' => isset($this->data['time']) ? number_format($this->data['time'] * 1000) . ' ms' : '',
41
+            'time' => isset($this->data['time']) ? number_format($this->data['time'] * 1000).' ms' : '',
42 42
         ]);
43 43
     }
44 44
 
Please login to merge, or discard this patch.