summaryrefslogtreecommitdiff
path: root/php-src
diff options
context:
space:
mode:
Diffstat (limited to 'php-src')
-rw-r--r--php-src/tests/http/echo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/php-src/tests/http/echo.php b/php-src/tests/http/echo.php
index eeccc7e5..7004ada0 100644
--- a/php-src/tests/http/echo.php
+++ b/php-src/tests/http/echo.php
@@ -6,5 +6,5 @@ use \Psr\Http\Message\ResponseInterface;
function handleRequest(ServerRequestInterface $req, ResponseInterface $resp): ResponseInterface
{
$resp->getBody()->write(strtoupper($req->getQueryParams()['hello']));
- return $resp;
+ return $resp->withStatus(201);
} \ No newline at end of file