src/Helpers/ArrayHelper.php
protected static function processTraceArgs(&$traceRow) {
        $args = [];
        $argTypes = [];
        foreach ($traceRow['args'] as $_arg) {
            $arg = $_arg;
            $argType = gettype($_arg);
            if (is_object($_arg)) {
                $arg = get_class($_arg);
            } elseif (is_array($_arg)) {
                $arg = '';
                $argType .= ' (' . count($_arg) . ')';
            } elseif ($_arg === null) {
                $arg = '';
            }
            $args[] = $arg;
            $argTypes[] = $argType;
        }
        $traceRow['args'] = $args;
        $traceRow['argTypes'] = $argTypes;
    }
protected static function processTraceArgs(&$traceRow) {
        $args = [];
        $argTypes = [];
        foreach ($traceRow['args'] as $_arg) {
            $arg = $_arg;
            $argType = gettype($_arg);
            if (is_object($_arg)) {
                $arg = get_class($_arg);
            } elseif (is_array($_arg)) {
                $arg = '';
                $argType .= ' (' . count($_arg) . ')';
            } elseif ($_arg === null) {
                $arg = '';
            }
            $args[] = $arg;
            $argTypes[] = $argType;
        }
        $traceRow['args'] = $args;
        $traceRow['argTypes'] = $argTypes;
    }
Process trace row arguments (for error printing)
@param array $traceRow