It's unusual for any user code to trigger this warning, but internal framework code will often access the ServerRequest::getQueryParams function, which refers to $this->serverData["QUERY_STRING"], which might not be set. A nullable check will improve this.