X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2Flib%2FDrupal%2FCore%2FSession%2FAccountInterface.php;fp=web%2Fcore%2Flib%2FDrupal%2FCore%2FSession%2FAccountInterface.php;h=ba3ed9378cef417d7e9641bd33802a73a6d65eaa;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hp=1cf82dcb63caa195bf04ceb96603cf94be68a821;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0;p=yaffs-website diff --git a/web/core/lib/Drupal/Core/Session/AccountInterface.php b/web/core/lib/Drupal/Core/Session/AccountInterface.php index 1cf82dcb6..ba3ed9378 100644 --- a/web/core/lib/Drupal/Core/Session/AccountInterface.php +++ b/web/core/lib/Drupal/Core/Session/AccountInterface.php @@ -148,8 +148,9 @@ interface AccountInterface { /** * 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();