Commit f2027c1c by Qiang Xue

Fixed errorexception trace type.

parent e2864ca5
...@@ -44,8 +44,10 @@ class ErrorException extends Exception ...@@ -44,8 +44,10 @@ class ErrorException extends Exception
} }
// XDebug < 2.1.1: http://bugs.xdebug.org/view.php?id=695 // XDebug < 2.1.1: http://bugs.xdebug.org/view.php?id=695
if (!isset($frame['type'])) { if (!isset($frame['type']) || $frame['type'] === 'static') {
$frame['type'] = '::'; $frame['type'] = '::';
} elseif ($frame['type'] === 'dynamic') {
$frame['type'] = '->';
} }
// XDebug has a different key name // XDebug has a different key name
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment