diff --git a/src/contracts/Repository/UserService.php b/src/contracts/Repository/UserService.php index faf485aca0..58aec8f8f8 100644 --- a/src/contracts/Repository/UserService.php +++ b/src/contracts/Repository/UserService.php @@ -165,6 +165,7 @@ public function loadUser(int $userId, array $prioritizedLanguages = []): User; * @return \Ibexa\Contracts\Core\Repository\Values\User\User * * @throws \Ibexa\Contracts\Core\Repository\Exceptions\NotFoundException if a user with the given credentials was not found + * @throws \Ibexa\Contracts\Core\Repository\Exceptions\InvalidArgumentException */ public function loadUserByLogin(string $login, array $prioritizedLanguages = []): User; @@ -187,6 +188,7 @@ public function checkUserCredentials(User $user, string $credentials): bool; * @return \Ibexa\Contracts\Core\Repository\Values\User\User * * @throws \Ibexa\Contracts\Core\Repository\Exceptions\InvalidArgumentException + * @throws \Ibexa\Contracts\Core\Repository\Exceptions\NotFoundException */ public function loadUserByEmail(string $email, array $prioritizedLanguages = []): User;