projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website]
/
web
/
core
/
lib
/
Drupal
/
Core
/
Session
/
AccountInterface.php
diff --git
a/web/core/lib/Drupal/Core/Session/AccountInterface.php
b/web/core/lib/Drupal/Core/Session/AccountInterface.php
index 1cf82dcb63caa195bf04ceb96603cf94be68a821..ba3ed9378cef417d7e9641bd33802a73a6d65eaa 100644
(file)
--- 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.
*
/**
* 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();
*/
public function getEmail();