Skip to content

Commit

Permalink
fix: comment version number
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsauder committed May 25, 2023
1 parent 6715e5e commit 20f819a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/user.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function getUserById( string $externalId ): \Microsoft\Graph\Model\User {

/**
* @throws \andrewsauder\microsoftServices\exceptions\serviceException
* @deprecated use getUserByUserPrincipalName instead. This function has always operate on UPN, not email. Preserved in v2 for backwards compatibility only. Will be removed in v3 or changed to actually search for user by mail attribute
* @deprecated use getUserByUserPrincipalName instead. This function has always operate on UPN, not email. Preserved in v1 for backwards compatibility only. Will be removed in v2 or changed to actually search for user by mail attribute
*/
public function getUserByEmail( string $email ): \Microsoft\Graph\Model\User {
return $this->getUserByUserPrincipalName( $email );
Expand Down

0 comments on commit 20f819a

Please sign in to comment.