src/Watchers/RequestWatcher.php
protected function headers($headers)
    {
        $headers = collect($headers)->map(function ($header) {
            return $header[0];
        })->toArray();

        return $this->hideParameters($headers,
            Telescope::$hiddenRequestHeaders
        );
    }
protected function headers($headers)
    {
        $headers = collect($headers)->map(function ($header) {
            return $header[0];
        })->toArray();

        return $this->hideParameters($headers,
            Telescope::$hiddenRequestHeaders
        );
    }
protected function headers ( $ headers ) { $ headers = collect ( $ headers ) -> map ( function ( $ header ) { return $ header [ 0 ] ; } ) -> toArray ( ) ; return $ this -> hideParameters ( $ headers , Telescope :: $ hiddenRequestHeaders ) ; }
Format the given headers.

@param  array  $headers
@return array
Format the given headers .