Passed
Push — master ( ab3fce...bb4bd6 )
by Andreas
22:41
created
lib/midcom/debug.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -88,9 +88,9 @@  discard block
 block discarded – undo
88 88
 
89 89
         while ($bt) {
90 90
             $caller = array_shift($bt);
91
-            if (   !array_key_exists('class', $caller)
91
+            if (!array_key_exists('class', $caller)
92 92
                 || $caller['class'] != midcom_debug::class) {
93
-                if (   !array_key_exists('function', $bt[0])
93
+                if (!array_key_exists('function', $bt[0])
94 94
                     || $bt[0]['function'] != 'require') {
95 95
                     $caller = array_shift($bt);
96 96
                 }
@@ -102,11 +102,11 @@  discard block
 block discarded – undo
102 102
         if (array_key_exists('class', $caller)) {
103 103
             $record['extra']['caller'] .= $caller['class'] . '::';
104 104
         }
105
-        if (   array_key_exists('function', $caller)
105
+        if (array_key_exists('function', $caller)
106 106
             && substr($caller['function'], 0, 6) != 'debug_') {
107 107
             $record['extra']['caller'] .= $caller['function'];
108 108
         } else {
109
-            $record['extra']['caller'] .= $caller['file'] . ' (' . $caller['line']. ')';
109
+            $record['extra']['caller'] .= $caller['file'] . ' (' . $caller['line'] . ')';
110 110
         }
111 111
         return $record;
112 112
     }
Please login to merge, or discard this patch.