diff options
-rw-r--r-- | lib/private/user/session.php | 4 | ||||
-rw-r--r-- | lib/public/iusersession.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/user/session.php b/lib/private/user/session.php index 9324ef2f42c..3cd83aae52f 100644 --- a/lib/private/user/session.php +++ b/lib/private/user/session.php @@ -121,7 +121,7 @@ class Session implements IUserSession, Emitter { /** * get the current active user * - * @return \OC\User\User + * @return \OCP\IUser|null Current user, otherwise null */ public function getUser() { // FIXME: This is a quick'n dirty work-around for the incognito mode as @@ -143,7 +143,7 @@ class Session implements IUserSession, Emitter { } /** - * Checks wether the user is logged in + * Checks whether the user is logged in * * @return bool if logged in */ diff --git a/lib/public/iusersession.php b/lib/public/iusersession.php index 4c5b4d1ba51..7128366590f 100644 --- a/lib/public/iusersession.php +++ b/lib/public/iusersession.php @@ -61,12 +61,12 @@ interface IUserSession { /** * get the current active user * - * @return \OCP\IUser + * @return \OCP\IUser|null Current user, otherwise null */ public function getUser(); /** - * Checks wether the user is logged in + * Checks whether the user is logged in * * @return bool if logged in */ |