Skip to content

Commit

Permalink
Add RouteTestTrait #1
Browse files Browse the repository at this point in the history
  • Loading branch information
odan committed Feb 9, 2022
1 parent 63992cc commit 31094a6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Traits/RouteTestTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 31094a6

Please sign in to comment.