Issue #3326493 by Patrick R., webflo: Fix inaccurate return types in user module

merge-requests/3477/head
catch 2023-02-15 12:02:15 +00:00
parent 7b3b607df0
commit d6e9f4d3a7
1 changed files with 2 additions and 2 deletions

View File

@ -167,7 +167,7 @@ function user_user_presave(UserInterface $account) {
* @param string $mail
* String with the account's email address.
*
* @return object|bool
* @return \Drupal\user\UserInterface|false
* A fully-loaded $user object upon successful user load or FALSE if user
* cannot be loaded.
*
@ -185,7 +185,7 @@ function user_load_by_mail($mail) {
* @param string $name
* String with the account's user name.
*
* @return object|bool
* @return \Drupal\user\UserInterface|false
* A fully-loaded $user object upon successful user load or FALSE if user
* cannot be loaded.
*