]> git.mxchange.org Git - core.git/commitdiff
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 4e517861b05b67f9f8804d50ee1b476cebee22d4..1ab419f52db8b55e17d1bbabfb091016cf6c2f18 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'],