Skip to content

Commit 536cdf2

Browse files
authored
Use correct PHPdoc types for user IDs
1 parent 2dfc3e0 commit 536cdf2

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/IntercomUsers.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function getUsers($options)
5555
/**
5656
* Gets a single User based on the Intercom ID.
5757
* @see https://developers.intercom.com/reference#view-a-user
58-
* @param integer $id
58+
* @param string $id
5959
* @param array $options
6060
* @return mixed
6161
* @throws \GuzzleHttp\Exception\GuzzleException
@@ -81,7 +81,7 @@ public function scrollUsers($options = [])
8181
/**
8282
* Deletes a single User based on the Intercom ID.
8383
* @see https://developers.intercom.com/reference#delete-a-user
84-
* @param integer $id
84+
* @param string $id
8585
* @param array $options
8686
* @return mixed
8787
* @throws \GuzzleHttp\Exception\GuzzleException
@@ -92,6 +92,10 @@ public function deleteUser($id, $options = [])
9292
return $this->client->delete($path, $options);
9393
}
9494

95+
/**
96+
* @param string $id
97+
* @return string
98+
*/
9599
public function userPath($id)
96100
{
97101
return 'users/' . $id;

0 commit comments

Comments
 (0)