From 98e8b0d119683b04e5ab5739c24b3cc87af253ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Kona=CC=81s=CC=8C?= Date: Mon, 18 Dec 2017 15:06:11 +0100 Subject: [PATCH] Add JsonSerializable type to phpDoc of $body parameter in makeRequest method --- lib/Client.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/Client.php b/lib/Client.php index 81c4eb8..b48c72f 100644 --- a/lib/Client.php +++ b/lib/Client.php @@ -243,11 +243,11 @@ private function createCurlMultiHandle($requests) * Make the API call and return the response. This is separated into * it's own function, so we can mock it easily for testing. * - * @param string $method the HTTP verb - * @param string $url the final url to call - * @param array $body request body - * @param array $headers any additional request headers - * @param bool $retryOnLimit should retry if rate limit is reach? + * @param string $method the HTTP verb + * @param string $url the final url to call + * @param array|\JsonSerializable $body request body + * @param array $headers any additional request headers + * @param bool $retryOnLimit should retry if rate limit is reach? * * @return Response object */