Skip to content

Commit

Permalink
Merge pull request #21 from roadrunner-php/improvements/exception
Browse files Browse the repository at this point in the history
Add ServiceException to PHPDoc
  • Loading branch information
msmakouz authored Dec 21, 2023
2 parents d955f58 + 9b39f8b commit a5d6744
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,5 @@ jobs:
test-server: true
os: >-
['ubuntu-latest']
php: >-
['8.1', '8.2']
stability: >-
['prefer-lowest', 'prefer-stable']
2 changes: 1 addition & 1 deletion .github/workflows/psalm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ jobs:
os: >-
['ubuntu-latest']
php: >-
['8.1']
['8.3']
2 changes: 2 additions & 0 deletions src/RPC/RPCInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

use Spiral\Goridge\Exception\GoridgeException;
use Spiral\Goridge\RPC\Exception\RPCException;
use Spiral\Goridge\RPC\Exception\ServiceException;

interface RPCInterface
{
Expand All @@ -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;
}

0 comments on commit a5d6744

Please sign in to comment.