File tree Expand file tree Collapse file tree 2 files changed +13
-8
lines changed
Expand file tree Collapse file tree 2 files changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ public function delete($endpoint, $json)
151151
152152 /**
153153 * @param string $endpoint
154- * @param string $query
154+ * @param array $query
155155 * @return mixed
156156 * @throws \GuzzleHttp\Exception\GuzzleException
157157 */
@@ -169,7 +169,7 @@ public function get($endpoint, $query)
169169
170170 /**
171171 * Returns next page of the result.
172- * @param array $pages
172+ * @param \stdClass $pages
173173 * @return mixed
174174 * @throws \GuzzleHttp\Exception\GuzzleException
175175 */
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ public function getUsers($options)
5656 /**
5757 * Gets a single User based on the Intercom ID.
5858 * @see https://developers.intercom.com/reference#view-a-user
59- * @param integer $id
59+ * @param string $id
6060 * @param array $options
6161 * @return mixed
6262 * @throws \GuzzleHttp\Exception\GuzzleException
@@ -82,7 +82,7 @@ public function scrollUsers($options = [])
8282 /**
8383 * Deletes a single User based on the Intercom ID.
8484 * @see https://developers.intercom.com/reference#delete-a-user
85- * @param integer $id
85+ * @param string $id
8686 * @param array $options
8787 * @return mixed
8888 * @throws \GuzzleHttp\Exception\GuzzleException
@@ -93,8 +93,13 @@ public function deleteUser($id, $options = [])
9393 return $ this ->client ->delete ($ path , $ options );
9494 }
9595
96- public function userPath ($ id )
97- {
98- return 'users/ ' . $ id ;
99- }
96+ /**
97+ * @param string $id
98+ * @return string
99+ */
100+ public function userPath ($ id )
101+ {
102+ return 'users/ ' . $ id ;
103+ }
104+
100105}
You can’t perform that action at this time.
0 commit comments