Skip to content
Permalink
Browse files

Adjust as per code review.

  • Loading branch information...
dereuromark committed Nov 25, 2017
1 parent 39e41d0 commit f13020d02083c8a7ced6d1b67581acf7ff0f9f69
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/Error/Middleware/ErrorHandlerMiddleware.php
@@ -137,10 +137,9 @@ protected function handleInternalError($response)
{
$body = $response->getBody();
$body->write('An Internal Server Error Occurred');
$response = $response->withStatus(500)
->withBody($body);
return $response;
return $response->withStatus(500)
->withBody($body);
}
/**

0 comments on commit f13020d

Please sign in to comment.
You can’t perform that action at this time.