Skip to content

ServerRequest: no query string can output warning #226

@g105b

Description

@g105b

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.

Metadata

Metadata

Assignees

Labels

enhancementNon-breaking improvements to existing behaviour

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions