Commit 52dbad9b authored by catch's avatar catch
Browse files

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

(cherry picked from commit d6e9f4d3)
parent 4ef84ddc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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.
 *