From 9b39f8bcf714c22e03894efda0aa003831be15c7 Mon Sep 17 00:00:00 2001 From: Maxim Smakouz Date: Thu, 21 Dec 2023 12:25:32 +0200 Subject: [PATCH] Add ServiceException to phpdoc --- .github/workflows/phpunit.yml | 2 -- .github/workflows/psalm.yml | 2 +- src/RPC/RPCInterface.php | 2 ++ 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index ccea4c3..46c88fa 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -14,7 +14,5 @@ jobs: test-server: true os: >- ['ubuntu-latest'] - php: >- - ['8.1', '8.2'] stability: >- ['prefer-lowest', 'prefer-stable'] diff --git a/.github/workflows/psalm.yml b/.github/workflows/psalm.yml index 02a83d3..42e4db9 100644 --- a/.github/workflows/psalm.yml +++ b/.github/workflows/psalm.yml @@ -14,4 +14,4 @@ jobs: os: >- ['ubuntu-latest'] php: >- - ['8.1'] + ['8.3'] diff --git a/src/RPC/RPCInterface.php b/src/RPC/RPCInterface.php index bfb9f7c..310db86 100644 --- a/src/RPC/RPCInterface.php +++ b/src/RPC/RPCInterface.php @@ -6,6 +6,7 @@ use Spiral\Goridge\Exception\GoridgeException; use Spiral\Goridge\RPC\Exception\RPCException; +use Spiral\Goridge\RPC\Exception\ServiceException; interface RPCInterface { @@ -31,6 +32,7 @@ public function withCodec(CodecInterface $codec): self; * * @throws GoridgeException * @throws RPCException + * @throws ServiceException */ public function call(string $method, mixed $payload, mixed $options = null): mixed; }