diff options
author | Sean Molenaar <sean@seanmolenaar.eu> | 2020-09-29 13:54:17 +0200 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2020-09-29 14:56:07 +0200 |
commit | 35b53ecd404a74edea3c6866e451c4819bdc9ea8 (patch) | |
tree | dac46834d8fa7ec0122243f94604c3d2215b4d22 /lib/Db/Folder.php | |
parent | d6d169be15913404f99b86c39a03bc71942c9f77 (diff) |
OPML export command and fixes
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'lib/Db/Folder.php')
-rw-r--r-- | lib/Db/Folder.php | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/Db/Folder.php b/lib/Db/Folder.php index 674c9fabc..eb3389546 100644 --- a/lib/Db/Folder.php +++ b/lib/Db/Folder.php @@ -37,7 +37,7 @@ class Folder extends Entity implements IAPI, \JsonSerializable /** * @return int|null */ - public function getDeletedAt() + public function getDeletedAt(): ?int { return $this->deletedAt; } @@ -50,7 +50,7 @@ class Folder extends Entity implements IAPI, \JsonSerializable /** * @return string|null */ - public function getLastModified() + public function getLastModified(): ?string { return $this->lastModified; } @@ -68,7 +68,7 @@ class Folder extends Entity implements IAPI, \JsonSerializable /** * @return int|null */ - public function getParentId() + public function getParentId(): ?int { return $this->parentId; } @@ -95,7 +95,7 @@ class Folder extends Entity implements IAPI, \JsonSerializable ); } - public function setDeletedAt(int $deletedAt = null) + public function setDeletedAt(?int $deletedAt = null): void { if ($this->deletedAt !== $deletedAt) { $this->deletedAt = $deletedAt; @@ -103,7 +103,7 @@ class Folder extends Entity implements IAPI, \JsonSerializable } } - public function setId(int $id) + public function setId(int $id): void { if ($this->id !== $id) { $this->id = $id; @@ -111,7 +111,7 @@ class Folder extends Entity implements IAPI, \JsonSerializable } } - public function setLastModified(string $lastModified = null) + public function setLastModified(?string $lastModified = null): void { if ($this->lastModified !== $lastModified) { @@ -120,7 +120,7 @@ class Folder extends Entity implements IAPI, \JsonSerializable } } - public function setName(string $name) + public function setName(string $name): void { if ($this->name !== $name) { $this->name = $name; @@ -128,7 +128,7 @@ class Folder extends Entity implements IAPI, \JsonSerializable } } - public function setOpened(bool $opened) + public function setOpened(bool $opened): void { if ($this->opened !== $opened) { $this->opened = $opened; @@ -136,7 +136,7 @@ class Folder extends Entity implements IAPI, \JsonSerializable } } - public function setParentId(int $parentId = 0) + public function setParentId(int $parentId = 0): void { if ($this->parentId !== $parentId) { $this->parentId = $parentId; @@ -144,7 +144,7 @@ class Folder extends Entity implements IAPI, \JsonSerializable } } - public function setUserId(string $userId) + public function setUserId(string $userId): void { if ($this->userId !== $userId) { $this->userId = $userId; |