Completed
Push — develop ( f8b016...c17f48 )
by Stuart
03:55
created
src/trace-functions.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -43,13 +43,13 @@
 block discarded – undo
43 43
 
44 44
 use GanbaroDigital\MissingBits\TraceInspectors\GetCaller;
45 45
 
46
- /**
47
-  * work out who has called a piece of code
48
-  *
49
-  * @param  array $filterList
50
-  *         a list of namespaces and classes to skip over
51
-  * @return StackFrame
52
-  */
46
+    /**
47
+     * work out who has called a piece of code
48
+     *
49
+     * @param  array $filterList
50
+     *         a list of namespaces and classes to skip over
51
+     * @return StackFrame
52
+     */
53 53
 function get_caller(array $filterList = [])
54 54
 {
55 55
     // we supply the trace
Please login to merge, or discard this patch.
src/TraceInspectors/FilterBacktrace.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
 
89 89
         // PHP's stack trace is a little esoteric. To find all the details about
90 90
         // a caller, we have to combine information from two stack frames.
91
-        $prevFrame = $backtrace[max($index - 1,0)];
91
+        $prevFrame = $backtrace[max($index - 1, 0)];
92 92
 
93 93
         // find the first backtrace entry that passes our filters
94 94
         for ($i = $index; $i <= $maxIndex; $i++) {
Please login to merge, or discard this patch.