src/Analysis/Debugger.php
public static function normalize($backtrace)
    {
        if (!static::isThrowable($backtrace)) {
            return $backtrace;
        }
        return array_merge([[
            'function' => '[NA]',
            'file'     => $backtrace->getFile(),
            'line'     => $backtrace->getLine(),
            'args'     => []
        ]], $backtrace->getTrace());
    }
public static function normalize($backtrace)
    {
        if (!static::isThrowable($backtrace)) {
            return $backtrace;
        }
        return array_merge([[
            'function' => '[NA]',
            'file'     => $backtrace->getFile(),
            'line'     => $backtrace->getLine(),
            'args'     => []
        ]], $backtrace->getTrace());
    }
public static function normalize ( $ backtrace ) { if ( ! static :: isThrowable ( $ backtrace ) ) { return $ backtrace ; } return array_merge ( [ [ 'function' => '[NA]' , 'file' => $ backtrace -> getFile ( ) , 'line' => $ backtrace -> getLine ( ) , 'args' => [ ] ] ] , $ backtrace -> getTrace ( ) ) ; }
Normalises a backtrace.

@param  array|object $backtrace A backtrace array or an exception instance.
@return array                   A backtrace array.
Normalises a backtrace .