src/Airbrake/Client.php
protected function cleanBacktrace($backtrace)
    {
        foreach ($backtrace as &$item) {
            if (isset($item['file'])) {
                $item['file'] = $this->cleanFilePath($item['file']);
            }
            unset($item['args']);
        }

        return $backtrace;
    }
protected function cleanBacktrace($backtrace)
    {
        foreach ($backtrace as &$item) {
            if (isset($item['file'])) {
                $item['file'] = $this->cleanFilePath($item['file']);
            }
            unset($item['args']);
        }

        return $backtrace;
    }
protected function cleanBacktrace ( $ backtrace ) { foreach ( $ backtrace as & $ item ) { if ( isset ( $ item [ 'file' ] ) ) { $ item [ 'file' ] = $ this -> cleanFilePath ( $ item [ 'file' ] ) ; } unset ( $ item [ 'args' ] ) ; } return $ backtrace ; }
Clean the backtrace of unneeded junk.

@param array $backtrace
@return array
Clean the backtrace of unneeded junk .