Skip to content

Commit

Permalink
fix #13 update execute() return types
Browse files Browse the repository at this point in the history
  • Loading branch information
gregor-j committed Jul 15, 2024
1 parent 2ed77e7 commit 59f8b34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/JsonRPC/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public function batch()
/**
* Send a batch request
*
* @return Exception|Client
* @return array|Exception|null
*
* @throws Exception
*/
Expand All @@ -155,7 +155,7 @@ public function send()
* @param string|null $requestId Request Id
* @param string[] $headers Headers for this request
*
* @return $this|Exception|Client
* @return $this|Exception|Client|array|null
*
* @throws Exception
*/
Expand Down Expand Up @@ -183,7 +183,7 @@ public function execute($procedure, array $params = [], array $reqattrs = [], $r
* @param string $payload
* @param string[] $headers
*
* @return Exception|Client
* @return array|Exception|null
*
* @throws Exception
*/
Expand Down

0 comments on commit 59f8b34

Please sign in to comment.