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; }