From c6bc5fdf277c8174833a26c56615c879ab1c97e4 Mon Sep 17 00:00:00 2001 From: butschster Date: Tue, 3 Oct 2023 16:45:56 +0400 Subject: [PATCH] fix --- src/Http/FakeHttp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Http/FakeHttp.php b/src/Http/FakeHttp.php index fcdc8f9..e4884b9 100644 --- a/src/Http/FakeHttp.php +++ b/src/Http/FakeHttp.php @@ -381,7 +381,7 @@ protected function createRequest( \parse_str($request->getUri()->getQuery(), $uriQuery); $query = \array_merge($uriQuery, $query); } else { - $request = $request->getUri()->withQuery(\http_build_query($query)); + $request = $request->withUri($request->getUri()->withQuery(\http_build_query($query))); } return $request