src/Framework/Http/Middleware/Router/RouterMiddleware.php
protected function getInvalidQueryStringResponse(InvalidQueryString $exception): ResponseInterface
    {
        return (new Response())
            ->withStatusCode(400)
            ->withBody([
                'type' => '',
                'title' => 'Invalid query string.',
                'parameter' => $exception->getParameter(),
                'reason' => $exception->getResult(),
            ]);
    }
protected function getInvalidQueryStringResponse(InvalidQueryString $exception): ResponseInterface
    {
        return (new Response())
            ->withStatusCode(400)
            ->withBody([
                'type' => '',
                'title' => 'Invalid query string.',
                'parameter' => $exception->getParameter(),
                'reason' => $exception->getResult(),
            ]);
    }
protected function getInvalidQueryStringResponse ( InvalidQueryString $ exception ) : ResponseInterface { return ( new Response ( ) ) -> withStatusCode ( 400 ) -> withBody ( [ 'type' => '' , 'title' => 'Invalid query string.' , 'parameter' => $ exception -> getParameter ( ) , 'reason' => $ exception -> getResult ( ) , ] ) ; }
Get response for InvalidQueryString exception.

@param InvalidQueryString $exception
@return ResponseInterface
Get response for InvalidQueryString exception .