src/ImageResponse.php
private function removeXsendfileHeaders(array $headers)
    {
        $filter = ['x-sendfile', 'content-disposition'];
        return array_filter($headers, function ($key) use ($filter) {
            return !in_array($key, $filter);
        }, ARRAY_FILTER_USE_KEY);
    }
private function removeXsendfileHeaders(array $headers)
    {
        $filter = ['x-sendfile', 'content-disposition'];
        return array_filter($headers, function ($key) use ($filter) {
            return !in_array($key, $filter);
        }, ARRAY_FILTER_USE_KEY);
    }
removeXsendfileHeaders

@param array $headers

@return array