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;