diff --git a/src/Application.php b/src/Application.php index b4f1d70..66ebc24 100644 --- a/src/Application.php +++ b/src/Application.php @@ -8,10 +8,7 @@ use Psr\Http\Server\RequestHandlerInterface; use Throwable; -/** - * @SuppressWarnings("PMD.LongVariable") - */ -class Application implements ApplicationInterface +final class Application implements ApplicationInterface { private RequestHandlerInterface $requestHandler; @@ -19,11 +16,6 @@ class Application implements ApplicationInterface private ResponseEmitterInterface $responseEmitter; - /** - * @param RequestHandlerInterface $requestHandler - * @param ExceptionHandlerInterface $exceptionHandler - * @param ResponseEmitterInterface $responseEmitter - */ public function __construct( RequestHandlerInterface $requestHandler, ExceptionHandlerInterface $exceptionHandler, diff --git a/src/ApplicationInterface.php b/src/ApplicationInterface.php index d9d024f..cf6a1dd 100644 --- a/src/ApplicationInterface.php +++ b/src/ApplicationInterface.php @@ -8,8 +8,5 @@ interface ApplicationInterface { - /** - * @param ServerRequestInterface $request - */ public function __invoke(ServerRequestInterface $request): void; }