Mercurial > hg > isophonics-drupal-site
diff core/lib/Drupal/Core/Session/AccountInterface.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children | 129ea1e6d783 |
line wrap: on
line diff
--- a/core/lib/Drupal/Core/Session/AccountInterface.php Mon Apr 23 09:33:26 2018 +0100 +++ b/core/lib/Drupal/Core/Session/AccountInterface.php Mon Apr 23 09:46:53 2018 +0100 @@ -148,8 +148,9 @@ /** * Returns the email address of this account. * - * @return string - * The email address. + * @return string|null + * The email address, or NULL if the account is anonymous or the user does + * not have an email address. */ public function getEmail();