diff options
Diffstat (limited to 'lib/Db/Folder.php')
-rw-r--r-- | lib/Db/Folder.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/Db/Folder.php b/lib/Db/Folder.php index ec9d27477..e4dbf0fe7 100644 --- a/lib/Db/Folder.php +++ b/lib/Db/Folder.php @@ -34,6 +34,16 @@ class Folder extends Entity implements IAPI, \JsonSerializable /** @var Feed[] */ public $feeds = []; + public function __construct() + { + $this->addType('parentId', 'integer'); + $this->addType('name', 'string'); + $this->addType('userId', 'string'); + $this->addType('opened', 'boolean'); + $this->addType('deletedAt', 'integer'); + $this->addType('lastModified', 'string'); + } + /** * @return int|null */ |