Skip to content

Commit 4a178ed

Browse files
Automatically update PHP SDK
1 parent f5e8ecf commit 4a178ed

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "trophy/php",
3-
"version": "1.0.13",
3+
"version": "1.0.14",
44
"description": "Trophy PHP Library",
55
"keywords": [
66
"trophy",

src/Users/UsersClient.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function __construct(
6262
}
6363

6464
/**
65-
* Identify a new user.
65+
* Create a new user.
6666
*
6767
* @param UpsertedUser $request
6868
* @param ?array{
@@ -165,9 +165,9 @@ public function get(string $id, ?array $options = null): User
165165
}
166166

167167
/**
168-
* Upsert a user (create or update).
168+
* Identify a user.
169169
*
170-
* @param string $id ID of the user to upsert.
170+
* @param string $id ID of the user to identify.
171171
* @param UpdatedUser $request
172172
* @param ?array{
173173
* baseUrl?: string,
@@ -177,7 +177,7 @@ public function get(string $id, ?array $options = null): User
177177
* @throws TrophyException
178178
* @throws TrophyApiException
179179
*/
180-
public function upsert(string $id, UpdatedUser $request, ?array $options = null): User
180+
public function identify(string $id, UpdatedUser $request, ?array $options = null): User
181181
{
182182
$options = array_merge($this->options, $options ?? []);
183183
try {

0 commit comments

Comments
 (0)