summaryrefslogtreecommitdiffstats
path: root/lib/Db/Folder.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Db/Folder.php')
-rw-r--r--lib/Db/Folder.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Db/Folder.php b/lib/Db/Folder.php
index 07fa7b369..f588cdacc 100644
--- a/lib/Db/Folder.php
+++ b/lib/Db/Folder.php
@@ -30,8 +30,8 @@ class Folder extends Entity implements IAPI, \JsonSerializable
protected $opened = true;
/** @var int|null */
protected $deletedAt = 0;
- /** @var int|null */
- protected $lastModified = 0;
+ /** @var string|null */
+ protected $lastModified = '0';
/**
* @return int|null
@@ -47,7 +47,7 @@ class Folder extends Entity implements IAPI, \JsonSerializable
}
/**
- * @return int|null
+ * @return string|null
*/
public function getLastModified()
{
@@ -110,7 +110,7 @@ class Folder extends Entity implements IAPI, \JsonSerializable
}
}
- public function setLastModified(int $lastModified = null)
+ public function setLastModified(string $lastModified = null)
{
if ($this->lastModified !== $lastModified) {