Skip to content

Commit

Permalink
PHPCS.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Sep 17, 2016
1 parent c9adf22 commit a75328f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Http/Server.php
Expand Up @@ -77,6 +77,7 @@ public function run(ServerRequestInterface $request = null, ResponseInterface $r
$request = $request ?: ServerRequestFactory::fromGlobals();
} catch (UnexpectedValueException $e) {
$response->getBody()->write('Bad Request');

return $response
->withHeader('Content-Type', 'text/plain')
->withStatus(400);
Expand Down

0 comments on commit a75328f

Please sign in to comment.