Applied fixes from StyleCI

This commit is contained in:
Alex Bilbie 2016-03-17 07:22:59 -04:00 committed by StyleCI Bot
parent 7b8d9c9af3
commit 3af75729b8
3 changed files with 3 additions and 1 deletions

View File

@ -40,6 +40,7 @@ class AuthenticationServerMiddleware
// @codeCoverageIgnoreStart
} catch (\Exception $exception) {
$response->getBody()->write($exception->getMessage());
return $response->withStatus(500);
// @codeCoverageIgnoreEnd
}

View File

@ -40,6 +40,7 @@ class ResourceServerMiddleware
// @codeCoverageIgnoreStart
} catch (\Exception $exception) {
$response->getBody()->write($exception->getMessage());
return $response->withStatus(500);
// @codeCoverageIgnoreEnd
}