From c410b7281579fed31b0679334b792a62caafdbed Mon Sep 17 00:00:00 2001 From: abhilash Date: Sat, 3 Oct 2020 18:33:38 +0530 Subject: [PATCH] Updated docblock --- src/RestService.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/RestService.php b/src/RestService.php index 151a5f4..8a9d57d 100644 --- a/src/RestService.php +++ b/src/RestService.php @@ -138,6 +138,7 @@ public function getResponseBody(PsrResponse $response) * @param bool $returnResponseBodyOnly * @return PsrResponse|mixed|ResponseInterface|string * @throws Exception + * @throws GuzzleException */ public function delete(string $uri, array $params = [], array $headers = [], bool $returnResponseBodyOnly = true) { @@ -157,6 +158,7 @@ public function delete(string $uri, array $params = [], array $headers = [], boo * @param bool $returnResponseBodyOnly * @return PsrResponse|mixed|ResponseInterface|string * @throws Exception + * @throws GuzzleException */ public function get(string $uri, array $params = [], array $headers = [], bool $returnResponseBodyOnly = true) { @@ -176,6 +178,7 @@ public function get(string $uri, array $params = [], array $headers = [], bool $ * @param bool $returnResponseBodyOnly * @return PsrResponse|mixed|ResponseInterface|string * @throws Exception + * @throws GuzzleException */ public function head(string $uri, array $params = [], array $headers = [], bool $returnResponseBodyOnly = true) { @@ -195,6 +198,7 @@ public function head(string $uri, array $params = [], array $headers = [], bool * @param bool $returnResponseBodyOnly * @return bool|PsrResponse|mixed|ResponseInterface|string * @throws SocketException + * @throws GuzzleException */ public function patch(string $uri, $params = [], array $headers = [], bool $returnResponseBodyOnly = true) { @@ -218,6 +222,7 @@ public function patch(string $uri, $params = [], array $headers = [], bool $retu * @param bool $returnResponseBodyOnly * @return bool|PsrResponse|mixed|ResponseInterface|string * @throws SocketException + * @throws GuzzleException */ public function post(string $uri, $params = [], array $headers = [], bool $returnResponseBodyOnly = true) { @@ -241,6 +246,7 @@ public function post(string $uri, $params = [], array $headers = [], bool $retur * @param bool $returnResponseBodyOnly * @return bool|PsrResponse|mixed|ResponseInterface|string * @throws SocketException + * @throws GuzzleException */ public function put(string $uri, $params = [], array $headers = [], bool $returnResponseBodyOnly = true) { @@ -264,6 +270,7 @@ public function put(string $uri, $params = [], array $headers = [], bool $return * @param bool $returnResponseBodyOnly * @return PsrResponse|mixed|ResponseInterface|string * @throws Exception + * @throws GuzzleException */ public function purge(string $uri, array $params = [], array $headers = [], bool $returnResponseBodyOnly = true) {