Issue #3326493 by Patrick R., webflo: Fix inaccurate return types in user module
parent
7b3b607df0
commit
d6e9f4d3a7
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue