Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Db/Session.php')
-rw-r--r--lib/Db/Session.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Db/Session.php b/lib/Db/Session.php
index 9f5e17161..e13d95e90 100644
--- a/lib/Db/Session.php
+++ b/lib/Db/Session.php
@@ -30,6 +30,7 @@ use OCP\AppFramework\Db\Entity;
* @method setLastContact(int $getTime)
* @method getDocumentId()
* @method getUserId()
+ * @method string getToken()
*/
class Session extends Entity implements \JsonSerializable {
@@ -55,7 +56,8 @@ class Session extends Entity implements \JsonSerializable {
'token' => $this->token,
'color' => $this->color,
'lastContact' => $this->lastContact,
- 'guestName' => $this->guestName
+ 'guestName' => $this->guestName,
+ 'documentId' => $this->documentId,
];
}
}