From 855e57a651f8ca2cfc7ad031b85b1a7ee4d0c99e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Wed, 19 Jan 2022 16:39:29 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E6=94=B9=E5=90=8D"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit fdf58326 --- JsonRpcConsumers.php | 1 - composer.json | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/JsonRpcConsumers.php b/JsonRpcConsumers.php index 315e27c..6c06ad9 100644 --- a/JsonRpcConsumers.php +++ b/JsonRpcConsumers.php @@ -54,7 +54,6 @@ abstract class JsonRpcConsumers implements OnRpcConsumerInterface /** * @param array $data * @return ServerRequestInterface - * @throws \ReflectionException */ private function requestBody(array $data): ServerRequestInterface { diff --git a/composer.json b/composer.json index a0c76a0..d415657 100644 --- a/composer.json +++ b/composer.json @@ -11,8 +11,7 @@ "require": { "php": ">=8.0", "ext-json": "*", - "psr/http-client": "^1.0", - "psr/http-message": "^1.0" + "psr/http-client": "^1.0" }, "autoload": { "psr-4": {