src/Viserio/Component/Exception/Console/Handler.php
private function isValidNextFrame(array $frame): bool
    {
        if (empty($frame['file']) || empty($frame['line'])) {
            return false;
        }

        if (empty($frame['function']) || \stripos($frame['function'], 'call_user_func') === false) {
            return false;
        }

        return true;
    }
private function isValidNextFrame(array $frame): bool
    {
        if (empty($frame['file']) || empty($frame['line'])) {
            return false;
        }

        if (empty($frame['function']) || \stripos($frame['function'], 'call_user_func') === false) {
            return false;
        }

        return true;
    }
Determine if the frame can be used to fill in previous frame's missing info
happens for call_user_func and call_user_func_array usages (PHP Bug #44428).

@param array $frame

@return bool