protected function normalizeHeaders(array $headers) : array
    {
        $returnHeaders = [];
        foreach ($headers as $key => $header) {
            $returnHeaders[$key] = $header[0] ?? $header;
        }

        return $returnHeaders;
    }
protected function normalizeHeaders(array $headers) : array
    {
        $returnHeaders = [];
        foreach ($headers as $key => $header) {
            $returnHeaders[$key] = $header[0] ?? $header;
        }

        return $returnHeaders;
    }
protected function normalizeHeaders ( array $ headers ) : array { $ returnHeaders = [ ] ; foreach ( $ headers as $ key => $ header ) { $ returnHeaders [ $ key ] = $ header [ 0 ] ?? $ header ; } return $ returnHeaders ; }
Return specific header value from string of headers.

@param array $headers

@return array
Return specific header value from string of headers .