diff --git a/src/Traits/RouteTestTrait.php b/src/Traits/RouteTestTrait.php index cf5a814..43eac50 100644 --- a/src/Traits/RouteTestTrait.php +++ b/src/Traits/RouteTestTrait.php @@ -14,7 +14,10 @@ trait RouteTestTrait * * @param string $routeName Route name * @param string[] $data Named argument replacement data - * @param string[] $queryParams Optional query string parameters + * @param string[] $queryParams Optional query string parameters. + * If you're using `nyholm/psr7`, query parameters MUST be added via + * `$request = $request->withQueryParams($queryParams)` + * to be retrieved with `$request->getQueryParams();` * * @return string The route with base path */