diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2019-11-06 13:16:00 +0100 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2019-11-06 13:16:00 +0100 |
commit | 2cce967eb09edd6ef35238c68f8ff5ed2348f5fd (patch) | |
tree | 8848ca509d5a37cf699120e57abdd80e53443c0b /tests/Unit/Middleware | |
parent | 867d720f150dc5a728a092f8d66d8b1c1a5efc5a (diff) |
Tests: Replaced duplicates and formatting/cleanup
Diffstat (limited to 'tests/Unit/Middleware')
-rw-r--r-- | tests/Unit/Middleware/Stub/ReturnResponseMiddlewareHandler.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Unit/Middleware/Stub/ReturnResponseMiddlewareHandler.php b/tests/Unit/Middleware/Stub/ReturnResponseMiddlewareHandler.php index 370187dd..18d7a28b 100644 --- a/tests/Unit/Middleware/Stub/ReturnResponseMiddlewareHandler.php +++ b/tests/Unit/Middleware/Stub/ReturnResponseMiddlewareHandler.php @@ -2,6 +2,7 @@ namespace Engelsystem\Test\Unit\Middleware\Stub; +use Exception; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; use Psr\Http\Server\RequestHandlerInterface; @@ -21,7 +22,7 @@ class ReturnResponseMiddlewareHandler implements RequestHandlerInterface * * @param ServerRequestInterface $request * @return ResponseInterface - * @throws \Exception + * @throws Exception */ public function handle(ServerRequestInterface $request): ResponseInterface { |