From 8de467930bbad4fe98186698437e570f642e8de6 Mon Sep 17 00:00:00 2001 From: Phil Bennett Date: Sun, 10 Nov 2024 10:42:03 +0000 Subject: [PATCH] Fix PHPCS --- composer.json | 2 +- src/Http/Exception/HttpExceptionInterface.php | 1 - src/Middleware/MiddlewareAwareInterface.php | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/composer.json b/composer.json index a8705b9..0e0bfc7 100644 --- a/composer.json +++ b/composer.json @@ -32,7 +32,7 @@ "psr/simple-cache": "^1.0" }, "require-dev": { - "laminas/laminas-diactoros": "2.4.1", + "laminas/laminas-diactoros": "^2.4.1", "phpstan/phpstan": "^0.12", "phpstan/phpstan-phpunit": "^0.12", "phpunit/phpunit": "^8.5", diff --git a/src/Http/Exception/HttpExceptionInterface.php b/src/Http/Exception/HttpExceptionInterface.php index 460b727..e4c5d4f 100644 --- a/src/Http/Exception/HttpExceptionInterface.php +++ b/src/Http/Exception/HttpExceptionInterface.php @@ -8,7 +8,6 @@ interface HttpExceptionInterface { - public function buildJsonResponse(ResponseInterface $response): ResponseInterface; public function getHeaders(): array; public function getStatusCode(): int; diff --git a/src/Middleware/MiddlewareAwareInterface.php b/src/Middleware/MiddlewareAwareInterface.php index 37c1d35..afc4dd4 100644 --- a/src/Middleware/MiddlewareAwareInterface.php +++ b/src/Middleware/MiddlewareAwareInterface.php @@ -8,7 +8,6 @@ interface MiddlewareAwareInterface { - public function getMiddlewareStack(): iterable; public function lazyMiddleware(string $middleware): MiddlewareAwareInterface; public function lazyMiddlewares(array $middlewares): MiddlewareAwareInterface;