private function methodAllowsQueryString(string $method): bool
    {
        return (Http::GET === $method || Http::HEAD === $method);
    }
private function methodAllowsQueryString(string $method): bool
    {
        return (Http::GET === $method || Http::HEAD === $method);
    }
private function methodAllowsQueryString ( string $ method ) : bool { return ( Http :: GET === $ method || Http :: HEAD === $ method ) ; }
checks if given method allows a query string

@param   string  $method
@return  bool
checks if given method allows a query string