summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-12-22 10:01:39 +0100
committerMorris Jobke <hey@morrisjobke.de>2014-12-22 10:01:39 +0100
commit5d296aa6b1fca69cfa14cc29eeb5f757a4b7dfad (patch)
tree09c5af98de13cfca3eeb838c0b2bb86e591b2342 /lib/public
parenteab4c029c20c333c467c659d6841cbde82f9da43 (diff)
parentdbbf56819227af9501cf35a018c4d18c4af31e70 (diff)
downloadnextcloud-server-5d296aa6b1fca69cfa14cc29eeb5f757a4b7dfad.tar.gz
nextcloud-server-5d296aa6b1fca69cfa14cc29eeb5f757a4b7dfad.zip
Merge pull request #12969 from owncloud/clarify-docs
Clarify return values
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/iusersession.php4
1 files changed, 2 insertions, 2 deletions
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
*/