protected function buildHeaders(): array
    {
        $this->headers = [
            'User-Agent' => 'Cog-YouTrack-REST-PHP/' . self::VERSION,
            'Accept' => 'application/json',
        ];

        $this->authorizer->appendHeadersTo($this);

        return $this->headers;
    }
protected function buildHeaders(): array
    {
        $this->headers = [
            'User-Agent' => 'Cog-YouTrack-REST-PHP/' . self::VERSION,
            'Accept' => 'application/json',
        ];

        $this->authorizer->appendHeadersTo($this);

        return $this->headers;
    }
protected function buildHeaders ( ) : array { $ this -> headers = [ 'User-Agent' => 'Cog-YouTrack-REST-PHP/' . self :: VERSION , 'Accept' => 'application/json' , ] ; $ this -> authorizer -> appendHeadersTo ( $ this ) ; return $ this -> headers ; }
Build request headers.

@return array
Build request headers .