diff --git a/core/lib/Drupal/Core/Session/AccountInterface.php b/core/lib/Drupal/Core/Session/AccountInterface.php index 3658799..1dbc13c 100644 --- a/core/lib/Drupal/Core/Session/AccountInterface.php +++ b/core/lib/Drupal/Core/Session/AccountInterface.php @@ -8,12 +8,13 @@ namespace Drupal\Core\Session; /** - * A user session object. + * Defines an account interface which represents the current user. * * Defines an object that has a user id, roles and can have session data. The * interface is implemented both by the global session and the user entity. */ interface AccountInterface { + /** * Returns the user ID or 0 for anonymous. * @@ -53,4 +54,5 @@ public function getSecureSessionId(); * Array with the session data that belongs to this object. */ public function getSessionData(); + } diff --git a/core/lib/Drupal/Core/Session/UserSession.php b/core/lib/Drupal/Core/Session/UserSession.php index ce72cba..300cd8f 100644 --- a/core/lib/Drupal/Core/Session/UserSession.php +++ b/core/lib/Drupal/Core/Session/UserSession.php @@ -8,7 +8,7 @@ namespace Drupal\Core\Session; /** - * An implementation of the user session interface for the global user. + * An implementation of the user account interface for the global user. * * @todo: Change all properties to protected. */