summaryrefslogtreecommitdiff
path: root/tests/http/payload.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/http/payload.php')
-rw-r--r--tests/http/payload.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/http/payload.php b/tests/http/payload.php
index 52c0f819..b7a0311f 100644
--- a/tests/http/payload.php
+++ b/tests/http/payload.php
@@ -5,7 +5,7 @@ use Psr\Http\Message\ServerRequestInterface;
function handleRequest(ServerRequestInterface $req, ResponseInterface $resp): ResponseInterface
{
- if ( $req->getHeaderLine("Content-Type") != 'application/json' ) {
+ if ($req->getHeaderLine("Content-Type") != 'application/json') {
$resp->getBody()->write("invalid content-type");
return $resp;
}
@@ -15,4 +15,4 @@ function handleRequest(ServerRequestInterface $req, ResponseInterface $resp): Re
$resp->getBody()->write(json_encode(array_flip($p)));
return $resp;
-} \ No newline at end of file
+}