From 3b7b83fb7f522c6a022f623ea2e1547c55f1b1b9 Mon Sep 17 00:00:00 2001 From: Shakir El Amrani Date: Mon, 4 Dec 2023 16:41:23 +0100 Subject: [PATCH] bug: merging request body with query string inputs --- src/Psr7/Psr7RequestAdapter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Psr7/Psr7RequestAdapter.php b/src/Psr7/Psr7RequestAdapter.php index 6d116ce..259d0a7 100644 --- a/src/Psr7/Psr7RequestAdapter.php +++ b/src/Psr7/Psr7RequestAdapter.php @@ -36,7 +36,7 @@ public function getVariables() return $this->getUriQueryVariables(); } - return $this->getBodyVariables(); + return array_merge($this->getBodyVariables(), $this->getUriQueryVariables()); } /**