Skip to content

Commit c8cd326

Browse files
authored
Merge pull request #252 from ngstylez/correct-docblock-param-type-for-json
Update docblock type for `$json` parameter
2 parents f782957 + b178f70 commit c8cd326

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/IntercomClient.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public function setClient($client)
141141
* Sends POST request to Intercom API.
142142
*
143143
* @param string $endpoint
144-
* @param string $json
144+
* @param array $json
145145
* @return mixed
146146
* @throws \GuzzleHttp\Exception\GuzzleException
147147
*/
@@ -164,7 +164,7 @@ public function post($endpoint, $json)
164164
* Sends PUT request to Intercom API.
165165
*
166166
* @param string $endpoint
167-
* @param string $json
167+
* @param array $json
168168
* @return mixed
169169
* @throws \GuzzleHttp\Exception\GuzzleException
170170
*/
@@ -188,7 +188,7 @@ public function put($endpoint, $json)
188188
* Sends DELETE request to Intercom API.
189189
*
190190
* @param string $endpoint
191-
* @param string $json
191+
* @param array $json
192192
* @return mixed
193193
* @throws \GuzzleHttp\Exception\GuzzleException
194194
*/

0 commit comments

Comments
 (0)