Completed
Push — master ( fdf5fc...3f8872 )
by Jacob
02:18
created
src/PhpQuickProfiler.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -78,9 +78,9 @@  discard block
 block discarded – undo
78 78
     $queryTotals['time'] = 0;
79 79
     $queries = array();
80 80
     
81
-    if($this->db != '') {
81
+    if ($this->db != '') {
82 82
       $queryTotals['count'] += $this->db->queryCount;
83
-      foreach($this->db->queries as $query) {
83
+      foreach ($this->db->queries as $query) {
84 84
         $query = $this->attemptToExplainQuery($query);
85 85
         $queryTotals['time'] += $query['time'];
86 86
         $query['time'] = Display::getReadableTime($query['time']);
@@ -102,8 +102,8 @@  discard block
 block discarded – undo
102 102
       $sql = 'EXPLAIN '.$query['sql'];
103 103
       $rs = $this->db->query($sql);
104 104
     }
105
-    catch(Exception $e) {}
106
-    if($rs) {
105
+    catch (Exception $e) {}
106
+    if ($rs) {
107 107
       $row = mysql_fetch_array($rs, MYSQL_ASSOC);
108 108
       $query['explain'] = $row;
109 109
     }
Please login to merge, or discard this patch.