Skip to content

Commit

Permalink
Add PHPDoc comment to Update User
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenclouston committed Dec 1, 2024
1 parent 73b37e1 commit 32b154b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/Authsignal/Authsignal.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,13 @@ public static function getUser(array $params)
return $response;
}

/**
* Update User
* @param array $params An associative array of parameters:
* - string 'userId': The userId of the user to update
* - array 'attributes': The attributes to update for the user
* @return array The authsignal response
*/
public static function updateUser(array $params)
{
$request = new AuthsignalClient();
Expand Down

0 comments on commit 32b154b

Please sign in to comment.