protected function resolveCsvHeader()
    {
        $header = [];

        if (!$this->isEmpty()) {
            $single = $this->first();
            $header = array_keys(Arr::dot($single));
        }

        return $header;
    }