Skip to content

Commit

Permalink
Merge pull request #4 from abhilashpujari/dev
Browse files Browse the repository at this point in the history
Updated docblock
  • Loading branch information
abhilashpujari authored Oct 3, 2020
2 parents 569ef9e + c410b72 commit 1f6e2fa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/RestService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand All @@ -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)
{
Expand All @@ -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)
{
Expand All @@ -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)
{
Expand All @@ -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)
{
Expand All @@ -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)
{
Expand All @@ -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)
{
Expand Down

0 comments on commit 1f6e2fa

Please sign in to comment.