Skip to content

Excessive requirements for input in QueryParametersParserInterface #187

@neomerx

Description

@neomerx

QueryParametersParserInterface::parse requires ServerRequestInterface as an input parameter where only query parameters are really needed.

In order to keep compatibility a new method parseQueryParameters(array $parameters) will be added and method parse will be declared as deprecated.

Changes required in the code

  • replace $parser->parse($request) with $parser->parseQueryParameters($request->getQueryParams())

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions