Also skip this
authorRoland Häder <roland@mxchange.org>
Fri, 30 Jun 2017 20:13:13 +0000 (22:13 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 30 Jun 2017 20:13:13 +0000 (22:13 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
framework/main/classes/class_BaseFrameworkSystem.php

index 4e51786..1ab419f 100644 (file)
@@ -1853,7 +1853,7 @@ Loaded includes:
                $backtrace = debug_backtrace(!DEBUG_BACKTRACE_PROVIDE_OBJECT);
 
                // Is function partialStub/__callStatic ?
-               if (($backtrace[1]['function'] == 'partialStub') || ($backtrace[1]['function'] == '__callStatic')) {
+               if (in_array($backtrace[1]['function'], array('partialStub', '__call', '__callStatic'))) {
                        // Prepend class::function:line from 3rd element
                        $message = sprintf('[%s::%s:%d]: %s',
                                $backtrace[2]['class'],